PolyAllocator

Windows
MacOS
Linux

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

Name Description

Public function

PolyAllocator()

Public function

PolyAllocator

(
    MemoryResource* memRes
)

Public function

PolyAllocator

(
    std::nullptr_t
)

Public function

PolyAllocator

(
    const PolyAllocator< U, UAlignment,...
)

Functions

Name Description

Public function

value_type &...

 

allocate

(
    std::size_t count
)

Allocation function as requested by standard-library containers.

Public function

void *

 

allocateBytes

(
    std::size_t size,
    std::size_t alignment
)

Public function

std::enable_...

 

allocateObject

(
    std::size_t count,
    std::size_t alignment
)

Public function

void

 

deallocate

(
    value_type* ptr,
    std::size_t count
)

Deallocation function as requested by standard-library containers.

Public function

void

 

deallocateBytes

(
    void* ptr,
    std::size_t size,
    std::size_t alignment
)

Public function

std::enable_...

 

deallocateObject

(
    U* ptr,
    std::size_t count,
    std::size_t alignment
)

Public function

void

 

deleteObject

(
    U* ptr
)

Public function Static

std::size_t

 

getAlignment()

Public function Const

MemoryResour...

 

getMemoryResource()

Public function

U *

 

newObject

(
    Args&&... args
)

Typedefs

Name

Description

traits_type

value_type

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss