GetData
Function Usage
Obtains the pointer address of the first element. The data in [GetData(), reinterpret_cast<T *>(GetData()) + GetSize()) is the data stored in the current container.
Prototype
1 | const void *GetData() const |
Parameters
None
Returns
Pointer address of the first element
Constraints
None
Examples
1 2 3 4 | size_t capacity = 100U; auto cv_holder = ContinuousVector::Create<int64_t>(capacity); auto cv = reinterpret_cast<ContinuousVector *>(cv_holder.get()); auto cap = cv->GetData(); |
Parent topic: ContinuousVector