41 label sz = this->size();
43 this->ptrs_[sz] = ptr;
57 append(
const_cast<tmp<T>&
>(t).ptr());
64 return this->ptrs_[i] !=
nullptr;
84 return set(i,
const_cast<autoPtr<T>&
>(aptr).ptr());
95 return set(i,
const_cast<tmp<T>&
>(t).ptr());
bool set(const label) const
Is element set.
void resize(const label)
Alias for setSize(const label)
void append(T *)
Append an element at the end of the list.
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.
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)
points setSize(newPointi)