Core header for the Aleph-w library.
void insert_next(Slink *p)
Insert link p right after this.
constexpr bool is_empty() const noexcept
Return true if this link is empty (points to itself).
Singly linked node that stores data of type T.
T & get_data()
Return a modifiable reference to the stored data.
Snode *& get_next()
Return the next node after this.
Snode * remove_next()
Remove the node right after this and return it.
Typed singly linked node.