Atoms Crowd  7.0.0
ToolchefsSTL::List< T > Class Template Reference

Classes

struct  ListIterator
 
class  Node
 

Public Types

typedef T value_type
 
typedef T & reference_type
 
typedef T * ptr_type
 
typedef ListIterator< Node, T, false > iterator
 
typedef ListIterator< const Node, const T, false > const_iterator
 
typedef ListIterator< Node, T, true > reverse_iterator
 
typedef ListIterator< const Node, const T, true > const_reverse_iterator
 

Public Member Functions

 List (Allocator *allocator=defaultAllocator()) noexcept
 
 List (const List &rhs) noexcept
 
Listoperator= (const List &rhs) noexcept
 
 List (List &&rhs) noexcept
 
Listoperator= (List &&rhs) noexcept
 
void clear () noexcept
 
size_t size () const noexcept
 
size_t length () const noexcept
 
iterator begin () noexcept
 Iterators.
 
iterator end () noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
T & back () noexcept
 Direct access.
 
const T & back () const noexcept
 
T & front () noexcept
 
const T & front () const noexcept
 
void push_back (const T &element) noexcept
 Insert element.
 
void pop_back () noexcept
 
template<typename... Args>
T & emplace_back (Args &&... args)
 
template<typename... Args>
T & emplace_front (Args &&... args)
 
void push_front (const T &element) noexcept
 Insert element.
 
void pop_front () noexcept
 
bool empty () noexcept
 
iterator insert (const_iterator pos, const T &value) noexcept
 
iterator insert (iterator pos, const T &value) noexcept
 
template<typename... Args>
iterator emplace (const_iterator pos, Args &&... args) noexcept
 
template<typename... Args>
iterator emplace (iterator pos, Args &&... args) noexcept
 
iterator erase (const_iterator pos) noexcept
 
iterator erase (iterator pos) noexcept
 
iterator find (const T &element) noexcept
 
const_iterator find (const T &element) const noexcept
 

The documentation for this class was generated from the following files: