|
Urho3D
|
Vector base class. More...
#include </home/runner/work/Dviglo/Dviglo/DvigloRepository/Source/Urho3D/Container/VectorBase.h>
Public Member Functions | |
| VectorBase () noexcept | |
| Construct. | |
| void | Swap (VectorBase &rhs) |
| Swap with another vector. | |
Static Protected Member Functions | |
| static unsigned char * | AllocateBuffer (unsigned size) |
Protected Attributes | |
| unsigned | size_ |
| Size of vector. | |
| unsigned | capacity_ |
| Buffer capacity. | |
| unsigned char * | 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.
1.8.17