An STL-compliant allocator that calls bentleyAllocator_malloc and bentleyAllocator_free. More...
#include <BentleyAllocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef _Ty | value_type |
typedef _Ty * | pointer |
typedef _Ty & | reference |
typedef _Ty const * | const_pointer |
typedef _Ty const & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
pointer | address (reference _Val) const |
const_pointer | address (const_reference _Val) const |
BentleyAllocator () | |
BentleyAllocator (const BentleyAllocator< _Ty > &) | |
template<class _Other > | |
BentleyAllocator (const BentleyAllocator< _Other > &) | |
template<class _Other > | |
BentleyAllocator< _Ty > & | operator= (const BentleyAllocator< _Other > &) |
void | deallocate (pointer _Ptr, size_type _Size) |
pointer | allocate (size_type _Count) |
pointer | allocate (size_type _Count, typename std::allocator< void >::const_pointer) |
void | construct (pointer _Ptr, const _Ty &_Val) |
void | destroy (pointer _Ptr) |
size_type | max_size () const |
An STL-compliant allocator that calls bentleyAllocator_malloc and bentleyAllocator_free.
typedef _Ty const* const_pointer |
typedef _Ty const& const_reference |
typedef std::ptrdiff_t difference_type |
typedef _Ty* pointer |
typedef _Ty& reference |
typedef std::size_t size_type |
typedef _Ty value_type |
BentleyAllocator | ( | ) |
BentleyAllocator | ( | const BentleyAllocator< _Ty > & | ) |
BentleyAllocator | ( | const BentleyAllocator< _Other > & | ) |
const_pointer address | ( | const_reference | _Val | ) | const |
References bentleyAllocator_malloc().
pointer allocate | ( | size_type | _Count, |
typename std::allocator< void >::const_pointer | |||
) |
void construct | ( | pointer | _Ptr, |
const _Ty & | _Val | ||
) |
References bentleyAllocator_free().
void destroy | ( | pointer | _Ptr | ) |
size_type max_size | ( | ) | const |
BentleyAllocator<_Ty>& operator= | ( | const BentleyAllocator< _Other > & | ) |