Go to the source code of this file.
|
template<typename ElementType , typename SizeType > |
FORCEINLINE void | DefaultConstructItems (void *Address, SizeType Count) |
|
template<typename ElementType > |
FORCEINLINE void | DestructItem (ElementType *Element) |
|
template<typename ElementType , typename SizeType > |
FORCEINLINE void | DestructItems (ElementType *Element, SizeType Count) |
|
template<typename DestinationElementType , typename SourceElementType , typename SizeType > |
FORCEINLINE void | ConstructItems (void *Dest, const SourceElementType *Source, SizeType Count) |
|
template<typename ElementType , typename SizeType > |
FORCEINLINE void | CopyAssignItems (ElementType *Dest, const ElementType *Source, SizeType Count) |
|
template<typename DestinationElementType , typename SourceElementType , typename SizeType > |
FORCEINLINE void | RelocateConstructItems (void *Dest, const SourceElementType *Source, SizeType Count) |
|
template<typename ElementType , typename SizeType > |
FORCEINLINE void | MoveConstructItems (void *Dest, const ElementType *Source, SizeType Count) |
|
template<typename ElementType , typename SizeType > |
FORCEINLINE void | MoveAssignItems (ElementType *Dest, const ElementType *Source, SizeType Count) |
|
template<typename ElementType , typename SizeType > |
FORCEINLINE bool | CompareItems (const ElementType *A, const ElementType *B, SizeType Count) |
|
◆ CompareItems()
◆ ConstructItems()
Constructs a range of items into memory from a set of arguments. The arguments come from an another array.
- Parameters
-
Dest | The memory location to start copying into. |
Source | A pointer to the first argument to pass to the constructor. |
Count | The number of elements to copy. |
Definition at line 109 of file MemoryOps.h.
◆ CopyAssignItems()
Copy assigns a range of items.
- Parameters
-
Dest | The memory location to start assigning to. |
Source | A pointer to the first item to assign. |
Count | The number of elements to assign. |
Definition at line 135 of file MemoryOps.h.
◆ DefaultConstructItems()
Default constructs a range of items in memory.
- Parameters
-
Elements | The address of the first memory location to construct at. |
Count | The number of elements to destruct. |
Definition at line 39 of file MemoryOps.h.
◆ DestructItem()
Destructs a single item in memory.
- Parameters
-
Elements | A pointer to the item to destruct. |
- Note
- : This function is optimized for values of T, and so will not dynamically dispatch destructor calls if T's destructor is virtual.
Definition at line 65 of file MemoryOps.h.
◆ DestructItems()
Destructs a range of items in memory.
- Parameters
-
Elements | A pointer to the first item to destruct. |
Count | The number of elements to destruct. |
- Note
- : This function is optimized for values of T, and so will not dynamically dispatch destructor calls if T's destructor is virtual.
Definition at line 85 of file MemoryOps.h.
◆ MoveAssignItems()
Move assigns a range of items.
- Parameters
-
Dest | The memory location to start move assigning to. |
Source | A pointer to the first item to move assign. |
Count | The number of elements to move assign. |
Definition at line 225 of file MemoryOps.h.
◆ MoveConstructItems()
Move constructs a range of items into memory.
- Parameters
-
Dest | The memory location to start moving into. |
Source | A pointer to the first item to move from. |
Count | The number of elements to move. |
Definition at line 199 of file MemoryOps.h.
◆ RelocateConstructItems()
Relocates a range of items to a new memory location as a new type. This is a so-called 'destructive move' for which there is no single operation in C++ but which can be implemented very efficiently in general.
- Parameters
-
Dest | The memory location to relocate to. |
Source | A pointer to the first item to relocate. |
Count | The number of elements to relocate. |
Definition at line 162 of file MemoryOps.h.