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.
AZ::AZStdAlloc< Allocator > Class Template Reference

#include <Memory.h>

Public Member Functions

AZ_FORCE_INLINE AZStdAlloc (const AZStdAlloc &rhs)=default
 
AZ_FORCE_INLINE AZStdAllocoperator= (const AZStdAlloc &rhs)=default
 
AZ_FORCE_INLINE pointer allocate (size_t byteSize, size_t alignment)
 
AZ_FORCE_INLINE pointer reallocate (pointer ptr, size_type newSize, align_type newAlignment)
 
AZ_FORCE_INLINE void deallocate (pointer ptr, size_type byteSize, size_type alignment)
 
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

template<class Allocator>
class AZ::AZStdAlloc< Allocator >

Generic wrapper for binding allocator to an AZStd one.

Note
AZStd allocators are one of the few differences from STD/STL. It's very tedious to write a wrapper for STD too.

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