30 template<
class LListBase,
class T>
35 for (
const T& val : lst)
42 template<
class LListBase,
class T>
51 template<
class LListBase,
class T>
56 for (
const T& val : lst)
63 template<
class LListBase,
class T>
72 template<
class LListBase,
class T>
75 label oldSize = this->size();
76 for (
label i=0; i<oldSize; ++i)
85 template<
class LListBase,
class T>
89 LListBase::transfer(lst);
95 template<
class LListBase,
class T>
100 for (
const T& val : lst)
107 template<
class LListBase,
class T>
114 template<
class LListBase,
class T>
119 for (
const T& val : lst)
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.
void transfer(LList< LListBase, T > &)
Transfer the contents of the argument into this List.
void operator=(const LList< LListBase, T > &)
Assignment operator.
void clear()
Delete contents of list.