mn_allocator_typetraits.hpp
Go to the documentation of this file.
48 : public mn::integral_constant<bool, internal::allocator_traits<TAlloC>::is_thread_safe::value> { };
Definition: mn_allocator_typetraits.hpp:80
typename internal::allocator_traits< TAllocator >::size_type size_type
Definition: mn_allocator_typetraits.hpp:84
static pointer allocate_array(allocator_type &state, size_type count, size_type size, size_type alignment)
Definition: mn_allocator_typetraits.hpp:90
static void deallocate_array(allocator_type &state, pointer node, size_type count, size_type size, size_type alignment) noexcept
Definition: mn_allocator_typetraits.hpp:99
typename internal::allocator_traits< TAllocator >::allocator_type allocator_type
Definition: mn_allocator_typetraits.hpp:82
static size_type max_node_size(const allocator_type &state)
Definition: mn_allocator_typetraits.hpp:104
static void deallocate_node(allocator_type &state, pointer node, size_type size, size_type alignment) noexcept
Definition: mn_allocator_typetraits.hpp:95
static size_type max_alignment(const allocator_type &state)
Definition: mn_allocator_typetraits.hpp:110
static size_type max_array_size(const allocator_type &state)
Definition: mn_allocator_typetraits.hpp:107
typename internal::allocator_traits< TAllocator >::pointer pointer
Definition: mn_allocator_typetraits.hpp:83
static pointer allocate_node(allocator_type &state, size_type size, size_type alignment)
Definition: mn_allocator_typetraits.hpp:86
basic_node< T > node
Node type witch allocated in global heap.
Definition: mn_node.hpp:266
typename allocator_type::const_pointer const_pointer
Definition: mn_allocator_typetraits.hpp:37
typename allocator_type::pointer pointer
Definition: mn_allocator_typetraits.hpp:36
typename allocator_type::value_type value_type
Definition: mn_allocator_typetraits.hpp:35
typename allocator_type::size_type size_type
Definition: mn_allocator_typetraits.hpp:39
typename allocator_type::difference_type difference_type
Definition: mn_allocator_typetraits.hpp:38
typename TAlloC::is_thread_safe is_thread_safe
Definition: mn_allocator_typetraits.hpp:43
typename TAlloC::allocator_category allocator_category
Definition: mn_allocator_typetraits.hpp:42
TAlloC allocator_type
Definition: mn_allocator_typetraits.hpp:34
Definition: mn_allocator_typetraits.hpp:33
void * allocate(const TAlloC &alloc, size_t size, size_t alignment, mn::memory::std_allocator_tag)
Definition: mn_allocator_typetraits.hpp:52
void * deallocate(const TAlloC &alloc, void *address, size_t size, size_t alignment, mn::memory::std_allocator_tag)
Definition: mn_allocator_typetraits.hpp:63
Definition: mn_allocator_typetraits.hpp:28
Definition: mn_allocator_typetraits.hpp:27
Definition: mn_allocator_typetraits.hpp:25
Definition: mn_typetraits.hpp:125
Definition: mn_allocator_typetraits.hpp:48