30 template<
class LListBase,
class T>
33 LList<LListBase,
T*>()
37 this->
append(iter().clone().ptr());
44 template<
class LListBase,
class T>
53 template<
class LListBase,
class T>
69 template<
class LListBase,
class T>
72 const label oldSize = this->size();
73 for (
label i=0; i<oldSize; ++i)
82 template<
class LListBase,
class T>
92 template<
class LListBase,
class T>
99 this->
append(iter().clone().ptr());
void operator=(const LPtrList< LListBase, T > &)
Assign copy.
void transfer(LPtrList< LListBase, T > &)
Transfer the contents of the argument into this 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 eraseHead()
Remove the head element from the list and delete the pointer.
An STL-conforming const_iterator.
T * removeHead()
Remove and return head.
Template class for non-intrusive linked PtrLists.
void transfer(LList< LListBase, T > &)
Transfer the contents of the argument into this List.
void clear()
Delete contents of list.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void append(const T * &a)
Add at tail of list.
void clear()
Clear the contents of the list.
LPtrList()
Null construct.
friend class const_iterator