Navigation
Unreal Engine C++ API Reference > Plugins > RigLogicLib > pma
References
Module | RigLogicLib |
Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/pma/PolyAllocator.h |
Include | #include "pma/PolyAllocator.h" |
Syntax
template<typename T, std::size_t Alignment, class TDefaultMemoryResource>
class PolyAllocator
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
PolyAllocator
(
MemoryResource* memRes |
||
![]() |
PolyAllocator
(
std::nullptr_t |
||
![]() |
PolyAllocator
(
const PolyAllocator< U, UAlignment, UDefaultMemoryResource >& rhs |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
value_type * | allocate
(
std::size_t count |
Allocation function as requested by standard-library containers. |
![]() |
void * | allocateBytes
(
std::size_t size, |
|
![]() |
std::enable_if::value, U * >::type | allocateObject
(
std::size_t count, |
|
![]() |
void | deallocate
(
value_type* ptr, |
Deallocation function as requested by standard-library containers. |
![]() |
void | deallocateBytes
(
void* ptr, |
|
![]() |
std::enable_if::value >::type | deallocateObject
(
U* ptr, |
|
![]() |
void | deleteObject
(
U* ptr |
|
![]() ![]() |
std::size_t | getAlignment () |
|
![]() ![]() |
MemoryResource * | ||
![]() |
U * | newObject
(
Args&&... args |
Typedefs
Name | Description |
---|---|
traits_type | |
value_type |