#include <BlockWipedAllocator.h>
Public Member Functions | |
LocalCache () | |
void | reset () |
~LocalCache () | |
Public Attributes | |
std::auto_ptr< T > | ptr |
Definition at line 138 of file BlockWipedAllocator.h.
LocalCache< T >::LocalCache | ( | ) | [inline] |
Definition at line 140 of file BlockWipedAllocator.h.
{
blockWipedAllocator<sizeof(T)>().registerCache(this);
}
LocalCache< T >::~LocalCache | ( | ) | [inline, virtual] |
Reimplemented from BlockWipedAllocator::LocalCache.
Definition at line 143 of file BlockWipedAllocator.h.
{}
void LocalCache< T >::reset | ( | void | ) | [inline, virtual] |
Implements BlockWipedAllocator::LocalCache.
Definition at line 144 of file BlockWipedAllocator.h.
References LocalCache< T >::ptr.
{ ptr.reset();}
std::auto_ptr<T> LocalCache< T >::ptr |
Definition at line 139 of file BlockWipedAllocator.h.
Referenced by LocalCache< T >::reset().