RavEngine
Loading...
Searching...
No Matches
phmap::allocator_traits< Alloc > Struct Template Reference

Public Types

using allocator_type = Alloc
 
using value_type = typename Alloc::value_type
 
using pointer = memory_internal::ExtractOrT< memory_internal::GetPointer, Alloc, value_type * >
 
using const_pointer = memory_internal::ExtractOrT< memory_internal::GetConstPointer, Alloc, typename phmap::pointer_traits< pointer >::template rebind< const value_type > >
 
using void_pointer = memory_internal::ExtractOrT< memory_internal::GetVoidPointer, Alloc, typename phmap::pointer_traits< pointer >::template rebind< void > >
 
using const_void_pointer = memory_internal::ExtractOrT< memory_internal::GetConstVoidPointer, Alloc, typename phmap::pointer_traits< pointer >::template rebind< const void > >
 
using difference_type = memory_internal::ExtractOrT< memory_internal::GetDifferenceType, Alloc, typename phmap::pointer_traits< pointer >::difference_type >
 
using size_type = memory_internal::ExtractOrT< memory_internal::GetSizeType, Alloc, typename std::make_unsigned< difference_type >::type >
 
using propagate_on_container_copy_assignment = memory_internal::ExtractOrT< memory_internal::GetPropagateOnContainerCopyAssignment, Alloc, std::false_type >
 
using propagate_on_container_move_assignment = memory_internal::ExtractOrT< memory_internal::GetPropagateOnContainerMoveAssignment, Alloc, std::false_type >
 
using propagate_on_container_swap = memory_internal::ExtractOrT< memory_internal::GetPropagateOnContainerSwap, Alloc, std::false_type >
 
using is_always_equal = memory_internal::ExtractOrT< memory_internal::GetIsAlwaysEqual, Alloc, typename std::is_empty< Alloc >::type >
 
template<typename T >
using rebind_alloc = typename memory_internal::RebindAlloc< Alloc, T >::type
 
template<typename T >
using rebind_traits = phmap::allocator_traits< rebind_alloc< T > >
 

Static Public Member Functions

static pointer allocate (Alloc &a, size_type n)
 
static pointer allocate (Alloc &a, size_type n, const_void_pointer hint)
 
static void deallocate (Alloc &a, pointer p, size_type n)
 
template<typename T , typename... Args>
static void construct (Alloc &a, T *p, Args &&... args)
 
template<typename T >
static void destroy (Alloc &a, T *p)
 
static size_type max_size (const Alloc &a)
 
static Alloc select_on_container_copy_construction (const Alloc &a)
 

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