Encapsulates OGDF_ALLOCATOR in a class that can be used as the Allocator for containers of the C++ standard library. More...
#include <ogdf/basic/memory.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
OGDFAllocator () noexcept=default | |
template<class U > | |
OGDFAllocator (const OGDFAllocator< U > &) noexcept | |
T * | allocate (const size_t n) const |
void | deallocate (T *const p, size_t n) const noexcept |
template<class U > | |
bool | operator!= (const OGDFAllocator< U > &) const noexcept |
template<class U > | |
bool | operator== (const OGDFAllocator< U > &) const noexcept |
Encapsulates OGDF_ALLOCATOR in a class that can be used as the Allocator for containers of the C++ standard library.
using ogdf::OGDFAllocator< T >::value_type = T |
|
defaultnoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |