![]() |
MOS Source Code
|
#include <list.hpp>
Classes | |
| class | iterator |
| struct | node |
Public Member Functions | |
| list ()=default | |
| list (const list &other)=default | |
| list (list &&other) noexcept=default | |
| list & | operator= (const list &other)=default |
| list & | operator= (list &&other) noexcept=default |
| ~list ()=default | |
| void | push_back (const T &value) |
| void | push_front (const T &value) |
| void | pop_back () |
| void | pop_front () |
| T & | front () |
| T & | back () |
| bool | empty () const |
| iterator | begin () |
| iterator | end () |
| const iterator | begin () const |
| const iterator | end () const |
| const iterator | cbegin () const |
| const iterator | cend () const |
| iterator | erase (iterator it) |
| void | insert (iterator it, const T &value) |
| void | clear () |
Private Attributes | |
| node * | head = nullptr |
| node * | tail = nullptr |
|
default |
Referenced by list(), list(), operator=(), and operator=().
|
default |
|
inline |
Definition at line 19 of file list.hpp.
Referenced by thread_allocate().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 220 of file list.hpp.
Referenced by begin(), begin(), cbegin(), clear(), empty(), erase(), front(), insert(), pop_back(), pop_front(), push_back(), and push_front().
|
private |
Definition at line 221 of file list.hpp.
Referenced by back(), pop_back(), pop_front(), push_back(), and push_front().