Loading...
Searching...
No Matches
rapidjson::StdAllocator< void, BaseAllocator >::rebind< U > Struct Template Reference
Inheritance diagram for rapidjson::StdAllocator< void, BaseAllocator >::rebind< U >:

Public Types

typedef StdAllocator< U, BaseAllocator > other
 
typedef StdAllocator< U, BaseAllocator > other
 
typedef BaseAllocator BaseAllocatorType
 
typedef traits_type::size_type size_type
 
typedef traits_type::difference_type difference_type
 
typedef traits_type::value_type value_type
 
typedef traits_type::pointer pointer
 
typedef traits_type::const_pointer const_pointer
 
typedef allocator_type::reference reference
 
typedef allocator_type::const_reference const_reference
 

Public Member Functions

 StdAllocator () RAPIDJSON_NOEXCEPT
 
 StdAllocator (const StdAllocator &rhs) RAPIDJSON_NOEXCEPT
 
 StdAllocator (const StdAllocator< U, BaseAllocator > &rhs) RAPIDJSON_NOEXCEPT
 
 StdAllocator (const BaseAllocator &baseAllocator) RAPIDJSON_NOEXCEPT
 
pointer address (reference r) const RAPIDJSON_NOEXCEPT
 
const_pointer address (const_reference r) const RAPIDJSON_NOEXCEPT
 
size_type max_size () const RAPIDJSON_NOEXCEPT
 
void construct (pointer p, const_reference r)
 
void destroy (pointer p)
 
U * allocate (size_type n=1, const void *=0)
 
pointer allocate (size_type n=1, const void *=0)
 
void deallocate (U *p, size_type n=1)
 
void deallocate (pointer p, size_type n=1)
 
bool operator== (const StdAllocator< U, BaseAllocator > &rhs) const RAPIDJSON_NOEXCEPT
 
bool operator!= (const StdAllocator< U, BaseAllocator > &rhs) const RAPIDJSON_NOEXCEPT
 
void * Malloc (size_t size)
 
void * Realloc (void *originalPtr, size_t originalSize, size_t newSize)
 

Static Public Member Functions

static void Free (void *ptr) RAPIDJSON_NOEXCEPT
 

Static Public Attributes

static const bool kNeedFree
 rapidjson Allocator concept
 
static const bool kRefCounted
 

Friends

class StdAllocator
 

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