Singly linked handle to list nodes.
Slink * remove_next()
Remove the link right after this.
constexpr Slink *& get_next() noexcept
Return the next link.
Singly linked node that stores data of type T.
Snode * remove_first()
Remove and return the first node (for symmetry with list front).
Snode()=default
Default constructor.
const T & get_data() const
Return a constant reference to the stored data.
const Snode * get_first() const
Return the first node (const alias of get_next).
const Snode * get_next() const
Return the next node after this (const overload).
Snode(T &&_data)
Constructor that moves the value.
T & get_data()
Return a modifiable reference to the stored data.
Snode(const T &_data)
Constructor that copies the value.
Snode *& get_next()
Return the next node after this.
Snode * remove_next()
Remove the node right after this and return it.
Main namespace for Aleph-w library functions.
std::decay_t< typename HeadC::Item_Type > T
DynList< T > maps(const C &c, Op op)
Classic map operation.
Singly linked list base class.