31 template<
class LListBase,
class T>
43 template<
class LListBase,
class T>
52 template<
class LListBase,
class T>
55 label oldSize = this->size();
56 for (
label i=0; i<oldSize; ++i)
65 template<
class LListBase,
class T>
69 LListBase::transfer(lst);
75 template<
class LListBase,
class T>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Template class for non-intrusive linked lists.
An STL-conforming const_iterator.
T removeHead()
Remove and return head.
void transfer(LList< LListBase, T > &)
Transfer the contents of the argument into this List.
void operator=(const LList< LListBase, T > &)
void clear()
Delete contents of list.
void append(const T &a)
Add at tail of list.