Hoard::BumpAlloc< ChunkSize, super > Class Template Reference
#include <bumpalloc.h>
List of all members.
Public Member Functions |
| | BumpAlloc (void) |
| void * | malloc (size_t sz) |
| void | free (void *) |
| | Free is disabled (we only bump, never reclaim).
|
Private Member Functions |
| void | refill (size_t sz) |
Private Attributes |
| char * | _bump |
| | The bump pointer.
|
| size_t | _remaining |
| | How much space remains in the current chunk.
|
template<int ChunkSize, class super>
class Hoard::BumpAlloc< ChunkSize, super >
Constructor & Destructor Documentation
template<int ChunkSize, class super>
Member Function Documentation
template<int ChunkSize, class super>
Free is disabled (we only bump, never reclaim).
template<int ChunkSize, class super>
template<int ChunkSize, class super>
Member Data Documentation
template<int ChunkSize, class super>
template<int ChunkSize, class super>
How much space remains in the current chunk.
The documentation for this class was generated from the following file: