#include <ace/Malloc_T.h>
template<size_t POOL_SIZE> class ACE_Static_Allocator : public ACE_Static_Allocator_Base {
public:
inline ACE_Static_Allocator (void);
private:
char pool_[POOL_SIZE];
};
POOL_SIZE
of memory and
uses the ACE_Static_Allocator_Base
class implementations of
malloc
and calloc
to optimize memory allocation from this
pool.
inline ACE_Static_Allocator (void);
char pool_[POOL_SIZE];