#include <list.h>
Public Methods | |
| void* | operator new (size_t num_bytes) |
| override the default new operator to allocate list_type objects from the a memory pool. More... | |
Public Attributes | |
| T | data |
| list data element. More... | |
| list_type* | next |
| pointer to the next element in the list. More... | |
Definition at line 65 of file list.h.
|
|
override the default new operator to allocate list_type objects from the a memory pool.
Definition at line 73 of file list.h. 00074 {
00075 block_pool mem_pool;
00076
00077 void *mem_addr = mem_pool.pool_alloc( num_bytes );
00078 return mem_addr;
00079 } // new
|
|
|
list data element.
|
|
|
pointer to the next element in the list.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001