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 Class Reference

#include <allocator.h>

Public Types

using value_type = void
 
using pointer = void *
 
using size_type = AZStd::size_t
 
using difference_type = AZStd::ptrdiff_t
 
using align_type = AZStd::size_t
 
using propagate_on_container_copy_assignment = AZStd::true_type
 
using propagate_on_container_move_assignment = AZStd::true_type
 

Public Member Functions

AZ_FORCE_INLINE allocator (const char *)
 
AZ_FORCE_INLINE allocator (const allocator &rhs)=default
 
AZ_FORCE_INLINE allocator (const allocator &rhs, const char *name)
 
AZ_FORCE_INLINE allocatoroperator= (const allocator &rhs)=default
 
pointer allocate (size_type byteSize, size_type alignment)
 
void deallocate (pointer ptr, size_type byteSize, size_type alignment)
 
pointer reallocate (pointer ptr, size_type newSize, align_type alignment=1)
 
size_type max_size () const
 
size_type get_allocated_size () const
 
AZ_FORCE_INLINE bool is_lock_free ()
 
AZ_FORCE_INLINE bool is_stale_read_allowed ()
 
AZ_FORCE_INLINE bool is_delayed_recycling ()
 

Detailed Description

All allocation will be piped to AZ::SystemAllocator, make sure it is created!


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