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.
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.