48 const label startIndex
51 UList<T>(&(list.v_[startIndex]), subSize)
77 return NullObjectRef<SubList<T>>();
86 return *
reinterpret_cast<const List<T>*
>(
this);
void operator=(const SubList< T > &)
Assignment of all entries to the given sub-list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A List obtained as a section of another List.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static const SubList< T > & null()
Return a null SubList.
void checkSize(const label size) const
Check size is within valid range (0 ... size)
void checkStart(const label start) const
Check start is within valid range (0 ... size-1)
SubList(const UList< T > &list, const label subSize)
Construct from UList and sub-list size.