41 label sz = this->size();
43 this->ptrs_[sz] = ptr;
50 return append(
const_cast<autoPtr<T>&
>(aptr).ptr());
60 return append(
const_cast<tmp<T>&
>(t).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.
bool set(const label) const
Is element set.
points setSize(newPointi)
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.