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