Class allocator
Implementation of STL memory allocator that uses Flax default Allocator.
Inheritance
allocator
Inherited Members
std_flax::allocator
std_flax::allocator
std_flax::allocator
std_flax::allocator
std_flax::allocator
std_flax::allocator
std_flax::allocator
Namespace: std_flax
Assembly: FlaxEngine.dll
File: Engine/Core/Memory/StlWrapper.h
Syntax
public class allocator<T>
Type Parameters
T
|
Constructors
allocator()
Declaration
public allocator()
allocator(const allocator& )
Declaration
public allocator(const allocator& )
Parameters
allocator
std_flax_allocator_allocator_const_allocator___
|
allocator(const allocator<U>& )
Declaration
public allocator(const allocator<U>& )
Parameters
allocator<U>
std_flax_allocator_allocator_const_allocator_U____
|
Type Parameters
class U
|
Methods
address(const_reference x)
Declaration
public const_pointer address(const_reference x) const
Parameters
const_reference
x
|
Returns
const_pointer
|
address(reference x)
Declaration
public pointer address(reference x) const
Parameters
reference
x
|
Returns
pointer
|
allocate(size_type n, const void* = 0)
Declaration
public pointer allocate(size_type n, const void* = 0)
Parameters
size_type
n
|
void
std_flax_allocator_allocate_size_type_const_void___
|
Returns
pointer
|
construct(pointer p, const T& val)
Declaration
public void construct(pointer p, const T& val)
Parameters
pointer
p
|
T
val
|
deallocate(void* p, size_type)
Declaration
public void deallocate(void* p, size_type)
Parameters
void
p
|
size_type
std_flax_allocator_deallocate_void___size_type_
|
destroy(pointer p)
Declaration
public void destroy(pointer p)
Parameters
pointer
p
|
max_size()
Declaration
public size_type max_size() const
Returns
size_type
|
operator=(const allocator& )
Declaration
public allocator<T> operator=(const allocator& )
Parameters
allocator
std_flax_allocator_operator__const_allocator___
|
Returns
allocator<T>
|
operator=(const allocator<U>& )
Declaration
public allocator operator=(const allocator<U>& )
Parameters
allocator<U>
std_flax_allocator_operator__const_allocator_U____
|
Returns
allocator
|
Type Parameters
class U
|