48 const label startIndex
51 UList<
T>(&(list.v_[startIndex]), subSize)
77 return NullObjectRef<SubList<T>>();
86 return *
reinterpret_cast<const List<T>*
>(
this);
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.
SubList(const UList< T > &list, const label subSize)
Construct from UList and sub-list size.
void operator=(const SubList< T > &)
Assignment of all entries to the given sub-list.
static const SubList< T > & null()
Return a null SubList.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void deepCopy(const UList< T > &)
Copy elements of the given UList.
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)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)