mn_allocator_typetraits.hpp File Reference

Go to the source code of this file.

Classes

struct  mn::memory::std_allocator_tag
 
struct  mn::memory::nodeleter_allocator_tag
 
struct  mn::memory::internal::allocator_traits< TAlloC >
 
struct  mn::memory::is_thread_safe_allocator< TAlloC >
 
class  mn::memory::allocator_traits< TAllocator >
 

Namespaces

 mn
 
 mn::memory
 
 mn::memory::internal
 

Functions

template<class TAlloC >
void * mn::memory::allocate (const TAlloC &alloc, size_t size, size_t alignment, mn::memory::std_allocator_tag)
 
template<class TAlloC >
void * mn::memory::allocate (const TAlloC &alloc, size_t size, size_t alignment, mn::memory::nodeleter_allocator_tag)
 
template<class TAlloC >
void * mn::memory::deallocate (const TAlloC &alloc, void *address, size_t size, size_t alignment, mn::memory::std_allocator_tag)
 
template<class TAlloC >
void * mn::memory::deallocate (const TAlloC &alloc, void *address, size_t size, size_t alignment, mn::memory::nodeleter_allocator_tag)
 

Class Documentation

◆ mn::memory::std_allocator_tag

struct mn::memory::std_allocator_tag

◆ mn::memory::nodeleter_allocator_tag

struct mn::memory::nodeleter_allocator_tag

◆ mn::memory::internal::allocator_traits

struct mn::memory::internal::allocator_traits

template<typename TAlloC>
struct mn::memory::internal::allocator_traits< TAlloC >

Class Members
typedef typename allocator_category allocator_category
typedef TAlloC allocator_type
typedef typename const_pointer const_pointer
typedef typename difference_type difference_type
typedef typename is_thread_safe is_thread_safe
typedef typename pointer pointer
typedef typename size_type size_type
typedef typename value_type value_type