Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::CachingAllocator< T, N > Class Template Reference

#include <caching_allocator.h>

Public Types

enum  { BLOCK_SIZE = N }
 
typedef T value_type
 

Static Public Member Functions

static void * alloc_obj ()
 
static void free_obj (void *p)
 

Member Typedef Documentation

◆ value_type

template<typename T , size_t N>
typedef T Realm::CachingAllocator< T, N >::value_type

Member Enumeration Documentation

◆ anonymous enum

template<typename T , size_t N>
anonymous enum
Enumerator
BLOCK_SIZE 

Member Function Documentation

◆ alloc_obj()

template<typename T , size_t N>
static void * Realm::CachingAllocator< T, N >::alloc_obj ( )
inlinestatic

◆ free_obj()

template<typename T , size_t N>
static void Realm::CachingAllocator< T, N >::free_obj ( void *  p)
inlinestatic

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