atlas
0.6
|
#include <sl_list.h>
Classes | |
class | ensure |
Public Types | |
typedef T | value_type |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef sl_list_const_iterator< T, Alloc > | const_iterator |
typedef sl_list_iterator< T, Alloc > | iterator |
typedef weak_sl_list_const_iterator< T, Alloc > | weak_const_iterator |
typedef weak_sl_list_iterator< T, Alloc > | weak_iterator |
Public Member Functions | |
sl_list () | |
sl_list (const alloc_type &a) | |
sl_list (alloc_type &&a) | |
sl_list (const sl_list &x) | |
sl_list (sl_list &&x) | |
sl_list (simple_list< T, Alloc > &&x) | |
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type> | |
sl_list (InputIt first, InputIt last, const alloc_type &a=alloc_type()) | |
sl_list (size_type n, const alloc_type &a=alloc_type()) | |
sl_list (size_type n, const T &x, const alloc_type &a=alloc_type()) | |
sl_list (std::initializer_list< T > l, const alloc_type &a=alloc_type()) | |
~sl_list () | |
sl_list & | operator= (const sl_list &x) |
sl_list & | operator= (sl_list &&x) |
void | swap (sl_list &other) |
const alloc_type & | get_node_allocator () const |
alloc_type & | node_allocator () |
iterator | begin () |
iterator | end () |
weak_iterator | wbegin () |
weak_iterator | wend () |
T & | front () |
void | pop_front () |
void | push_front (const T &val) |
void | push_front (T &&val) |
template<typename... Args> | |
void | emplace_front (Args &&...args) |
iterator | push_back (const T &val) |
iterator | push_back (T &&val) |
template<typename... Args> | |
iterator | emplace_back (Args &&...args) |
bool | empty () const |
bool | singleton () const |
size_type | size () const |
iterator | insert (const_iterator pos, const T &val) |
iterator | insert (const_iterator pos, T &&val) |
iterator | insert (const_iterator pos, size_type n, const T &val) |
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type> | |
iterator | insert (const_iterator pos, InputIt first, InputIt last) |
template<typename InputIt > | |
void | move_insert (const_iterator pos, InputIt first, InputIt last) |
iterator | erase (const_iterator pos) |
iterator | erase (const_iterator first, const_iterator last) |
void | append (sl_list &&other) |
iterator | splice (const_iterator pos, sl_list &&other) |
void | clear () |
void | assign (size_type n, const T &x) |
template<typename InputIt , typename = typename std::enable_if< std::is_base_of<std::input_iterator_tag, typename std::iterator_traits<InputIt>::iterator_category >::value>::type> | |
void | assign (InputIt first, InputIt last) |
template<typename InputIt > | |
void | move_assign (InputIt first, InputIt last) |
void | reverse () |
void | reverse (const_iterator from, const_iterator to) |
simple_list< T, Alloc > | undress () |
const T & | front () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
weak_const_iterator | wbegin () const |
weak_const_iterator | wcbegin () const |
weak_const_iterator | wend () const |
weak_const_iterator | wcend () const |
Static Public Member Functions | |
static bool | at_end (const_iterator p) |
static bool | at_end (weak_const_iterator p) |
Private Types | |
typedef sl_node< T, Alloc > | node_type |
typedef Alloc::template rebind< node_type >::other | alloc_type |
typedef Alloc::pointer | node_ptr |
typedef std::unique_ptr< node_type, allocator_deleter< alloc_type > > | link_type |
Private Member Functions | |
void | set_empty () |
Private Attributes | |
link_type | head |
link_type * | tail |
size_type | node_count |
|
private |
typedef sl_list_const_iterator<T,Alloc> atlas::containers::sl_list< T, Alloc >::const_iterator |
typedef const value_type* atlas::containers::sl_list< T, Alloc >::const_pointer |
typedef const value_type& atlas::containers::sl_list< T, Alloc >::const_reference |
typedef std::ptrdiff_t atlas::containers::sl_list< T, Alloc >::difference_type |
typedef sl_list_iterator<T,Alloc> atlas::containers::sl_list< T, Alloc >::iterator |
|
private |
|
private |
|
private |
typedef value_type* atlas::containers::sl_list< T, Alloc >::pointer |
typedef value_type& atlas::containers::sl_list< T, Alloc >::reference |
typedef std::size_t atlas::containers::sl_list< T, Alloc >::size_type |
typedef T atlas::containers::sl_list< T, Alloc >::value_type |
typedef weak_sl_list_const_iterator<T, Alloc> atlas::containers::sl_list< T, Alloc >::weak_const_iterator |
typedef weak_sl_list_iterator<T, Alloc> atlas::containers::sl_list< T, Alloc >::weak_iterator |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |