![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ContainerAllocationPolicies.h>
Public Member Functions | |
| constexpr | ForElementType () |
| consteval | ForElementType (EConstEval) |
| UE_FORCEINLINE_HINT void | MoveToEmpty (ForElementType &Other) |
| UE_FORCEINLINE_HINT ElementType * | GetAllocation () const |
| void | ResizeAllocation (SizeType CurrentNum, SizeType NewMax, SIZE_T NumBytesPerElement) |
| UE_FORCEINLINE_HINT SizeType | CalculateSlackReserve (SizeType NewMax, SIZE_T NumBytesPerElement) const |
| UE_FORCEINLINE_HINT SizeType | CalculateSlackShrink (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| UE_FORCEINLINE_HINT SizeType | CalculateSlackGrow (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| SIZE_T | GetAllocatedSize (SizeType CurrentMax, SIZE_T NumBytesPerElement) const |
| bool | HasAllocation () const |
| constexpr SizeType | GetInitialCapacity () const |
|
inlineconstexpr |
Default constructor.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
Moves the state of another allocator into this one. Assumes that the allocator is currently empty, i.e. memory may be allocated but any existing elements have already been destructed (if necessary).
| Other | - The allocator to move the state from. This allocator should be left in a valid empty state. |
|
inline |