41 label sz = this->size();
43 this->ptrs_[sz] = ptr;
67 return this->ptrs_[i] !=
nullptr;
87 return set(i,
const_cast<autoPtr<T>&
>(aptr).ptr());
98 return set(i,
const_cast<tmp<T>&
>(t).ptr());
void append(T *)
Append an element at the end of the 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.
bool set(const label) const
Is element set.
points setSize(newPointi)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
void resize(const label)
Alias for setSize(const label)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.