ROSE  0.9.10.89
Static Public Member Functions | List of all members
Sawyer::SmallObject Class Reference

Description

Small object support.

Small objects that inherit from this class will use a pool allocator instead of the global allocator.

Definition at line 19 of file SmallObject.h.

#include <SmallObject.h>

Inheritance diagram for Sawyer::SmallObject:
Inheritance graph
[legend]

Static Public Member Functions

static SynchronizedPoolAllocatorpoolAllocator ()
 Return the pool allocator for this class. More...
 
static void * operator new (size_t size)
 
static void operator delete (void *ptr, size_t size)
 

Member Function Documentation

static SynchronizedPoolAllocator& Sawyer::SmallObject::poolAllocator ( )
inlinestatic

Return the pool allocator for this class.

Definition at line 25 of file SmallObject.h.


The documentation for this class was generated from the following file: