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)
Template class for non-intrusive linked lists.
void operator=(const LList< LListBase, T > &)
Assignment operator.
void append(const T &a)
Add at tail of list.
void clear()
Delete contents of list.
void transfer(LList< 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.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)