Open 3D Engine AzCore API Reference  22.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Types | Public Member Functions | List of all members
AZStd::allocator Class Reference

#include <allocator.h>

Public Types

typedef void * pointer_type
typedef AZStd::size_t size_type
typedef AZStd::ptrdiff_t difference_type
typedef AZStd::false_type allow_memory_leaks

Public Member Functions

 AZ_TYPE_INFO (allocator, "{E9F5A3BE-2B3D-4C62-9E6B-4E00A13AB452}")
AZ_FORCE_INLINE allocator (const char *name="AZStd::allocator")
AZ_FORCE_INLINE allocator (const allocator &rhs)
AZ_FORCE_INLINE allocator (const allocator &rhs, const char *name)
AZ_FORCE_INLINE allocatoroperator= (const allocator &rhs)
const AZ_FORCE_INLINE char * get_name () const
AZ_FORCE_INLINE void set_name (const char *name)
pointer_type allocate (size_type byteSize, size_type alignment, int flags=0)
void deallocate (pointer_type ptr, size_type byteSize, size_type alignment)
size_type resize (pointer_type ptr, size_type newSize)
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: