Urho3D
|
Vector base class. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Container/VectorBase.h>
Public Member Functions | |
VectorBase () noexcept | |
Construct. | |
void | Swap (VectorBase &rhs) |
Swap with another vector. | |
Static Protected Member Functions | |
static u8 * | AllocateBuffer (i32 size) |
Protected Attributes | |
i32 | size_ |
Size of vector. | |
i32 | capacity_ |
Buffer capacity. | |
u8 * | buffer_ |
Buffer. | |
Vector base class.
Note that to prevent extra memory use due to vtable pointer, VectorBase intentionally does not declare a virtual destructor and therefore VectorBase pointers should never be used.