Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::allocator_traits< Alloc > Struct Template Reference

Public Types

using allocator_type = Alloc
 
using value_type = typename get_value_type< allocator_type >::type
 
using pointer = typename get_pointer_type< allocator_type, value_type >::type
 
using const_pointer = typename get_const_pointer_type< allocator_type, pointer, value_type >::type
 
using void_pointer = typename get_void_pointer_type< allocator_type, pointer >::type
 
using const_void_pointer = typename get_const_void_pointer_type< allocator_type, pointer >::type
 
using difference_type = typename get_difference_type< allocator_type, pointer >::type
 
using align_type = typename get_align_type< allocator_type, difference_type >::type
 
using size_type = typename get_size_type< allocator_type, difference_type >::type
 
using propagate_on_container_move_assignment = typename get_propagate_on_container_move_assignment_type< allocator_type >::type
 
using propagate_on_container_copy_assignment = typename get_propagate_on_container_copy_assignment_type< allocator_type >::type
 
using propagate_on_container_swap = typename get_propagate_on_container_swap_type< allocator_type >::type
 
using is_always_equal = typename get_is_always_equal_type< allocator_type >::type
 
template<class T >
using rebind_alloc = typename get_rebind_type< allocator_type, T >::type
 
template<class T >
using rebind_traits = allocator_traits< rebind_alloc< T > >
 

Static Public Member Functions

static pointer allocate (allocator_type &alloc, size_type size)
 
static pointer allocate (allocator_type &alloc, size_type size, const_void_pointer hint)
 
static pointer allocate (allocator_type &alloc, size_type size, align_type alignment)
 Extension AZStd allocators supports supplying alignment.
 
static void deallocate (allocator_type &alloc, pointer ptr, size_type size)
 
static void deallocate (allocator_type &alloc, pointer ptr, size_type size, align_type alignment)
 Extension AZStd allocators supports supplying alignment.
 
template<class T , class... Args>
static void construct (allocator_type &, T *ptr, Args &&... args)
 
template<class T >
static void destroy (allocator_type &, T *ptr)
 
static size_type max_size (const allocator_type &alloc)
 
static allocator_type select_on_container_copy_construction (const allocator_type &alloc)
 

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