Go to the documentation of this file.
61 const label startIndex
64 UList<T>(&(list.v_[startIndex]), subSize)
111 return NullObjectRef<SubList<T>>();
120 return *
reinterpret_cast<const List<T>*
>(
this);
labelRange validateRange(const labelRange &range) const
static constexpr const zero Zero
Global zero (0)
A List obtained as a section of another List.
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)
A range or interval of labels defined by a start and a size.
SubList(const SubList &)=default
Copy construct.
void operator=(const SubList< T > &list)
Copy assign entries from given sub-list.
static const SubList< T > & null()
Return a null SubList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n) noexcept
Override size to be inconsistent with allocated storage.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...