Template Class List

Nested Relationships

Nested Types

Template Parameter Order

  1. typename T

  2. `ListNode <exhale_struct_structGaia_1_1ListNode_>`_ N

Class Documentation

template<typename T, ListNode<T> T::* N>
class List

Public Functions

inline List()
inline T *tail() const
inline T *head() const
inline Result<Void, Error> insert_head(T *elem)
inline Result<Void, Error> insert_tail(T *elem)
inline Result<Void, Error> insert_before(T *elem, T *before)
inline Result<Void, Error> insert_after(T *elem, T *after)
inline Result<T*, Error> remove_tail()
inline Result<T*, Error> remove_head()
inline Result<T*, Error> remove(T *elem)
inline size_t length()
inline Iterator begin()
inline Iterator end()
inline void reset()
struct Iterator

Public Functions

inline explicit Iterator(T *start)
inline T *operator*() const
inline bool operator==(const Iterator &other) const
inline bool operator!=(const Iterator &other) const
inline Iterator &operator++()
inline Iterator operator++(int)