38#include <gtest/gtest.h>
43using namespace testing;
constexpr bool is_empty() const noexcept
Return true if list is empty.
void reset() noexcept
Reset the link so it points to itself.
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.
Snode * remove_first()
Remove and return the first node (for symmetry with list front).
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.
Main namespace for Aleph-w library functions.
DynList< T > maps(const C &c, Op op)
Classic map operation.
Typed singly linked node.