CORGI
An open source project by
FPL.
|
A struct representing an element inside of a VectorPool. More...
#include <vector_pool.h>
A struct representing an element inside of a VectorPool.
Public Member Functions | |
VectorPoolElement () | |
The default constructor for an empty VectorPoolElement. | |
VectorPoolElement & | operator= (VectorPoolElement &&src) |
The standard operator to move a referenced VectorPoolElement into this VectorPoolElement. More... | |
VectorPoolElement (VectorPoolElement &&src) | |
A copy constructor to create a VectorPoolElement from an existing VectorPoolElement. More... | |
Public Attributes | |
T | data |
Holds the data within a VectorPoolElement. | |
size_t | next |
The index of the next element in the vector. | |
size_t | prev |
The index of the previous element in the vector. | |
UniqueIdType | unique_id |
The unique ID of this VectorPoolElement. | |
|
inline |
A copy constructor to create a VectorPoolElement from an existing VectorPoolElement.
[in] | src | An existing VectorPoolElement to copy into this VectorPoolElement. |
|
inline |
The standard operator to move a referenced VectorPoolElement into this VectorPoolElement.
[in] | src | A referenced VectorPoolElement to move into this VectorPoolElement. |