33template<
class LListBase,
class T>
36 for (
auto iter = lst.
cbegin(); iter != lst.
cend(); ++iter)
38 this->push_back(&(*iter));
45template<
class LListBase,
class T>
50 for (
auto iter = lst.cbegin(); iter != lst.cend(); ++iter)
52 this->push_back(&(*iter));
57template<
class LListBase,
class T>
60 const UILList<LListBase, T>& rhs
63 if (this->size() != rhs.size())
68 auto iter2 =
rhs.cbegin();
70 for (
auto iter1 = this->cbegin(); iter1 != this->cend(); ++iter1, ++iter2)
72 if (!(*iter1 == *iter2))
82template<
class LListBase,
class T>
85 const UILList<LListBase, T>& rhs
88 return !operator==(rhs);
UILList()=default
Default construct.
const_iterator cbegin() const
Iterator to first item in list with const access.
const const_iterator & cend() const
End of list for forward iterators.
void operator=(const UILList< LListBase, T > &lst)
Copy assignment.
bool operator==(const UILList< LListBase, T > &lst) const
Equality. True both lists are element-wise equal.
friend Ostream & operator(Ostream &os, const UILList< LListBase, T > &lst)
Write UILList to Ostream with line breaks, as per writeList() with shortLen=-1.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)