GetData
Description
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
const T *GetData() const
Parameters
None
Returns
Pointer address of the first element
Restrictions
None
Example
size_t capacity = 100U; auto cv_holder = ContinuousVector::Create<int64_t>(capacity); auto cv = reinterpret_cast<TypedContinuousVector *>(cv_holder.get()); auto cap = cv->GetData<int64_t>();
Parent topic: TypedContinuousVector