36template<
class T,
int SizeMin>
48template<
class T,
int SizeMin>
60 static_cast<List<T>&
>(list).readList(is);
61 list.capacity_ = list.
size();
Non-intrusive singly-linked list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
constexpr DynamicList() noexcept
Default construct, an empty list without allocation.
label expandStorage() noexcept
Expand the addressable size to fit the allocated capacity.
Istream & readList(Istream &is)
Read from Istream, discarding existing contents.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label n)
Older name for setAddressableSize.