An array that uses multiple allocations to avoid allocation failure due to fragmentation.
更多...
|
| int32 | AddElement (const ElementType &Item) |
| | Adds a new item to the end of the chunked array. 更多...
|
| |
| FORCEINLINE bool | IsValidIndex (int32 Index) const |
| | Tests if index is valid, i.e. 更多...
|
| |
| FORCEINLINE TChunkedArray & | operator+= (const TArray< ElementType > &Other) |
| | Appends the specified array to this array. 更多...
|
| |
| void | Reserve (int32 Number) |
| | Reserves memory such that the array can contain at least Number elements. 更多...
|
| |
|
| TChunkedArray (int32 InNumElements=0) |
| | Initialization constructor.
|
| |
template<typename InElementType, uint32 TargetBytesPerChunk = 16384>
class TChunkedArray< InElementType, TargetBytesPerChunk >
An array that uses multiple allocations to avoid allocation failure due to fragmentation.