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.
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)
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.