atlas
0.6
|
#include <sl_list.h>
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 | |
simple_list () | |
simple_list (const alloc_type &a) | |
simple_list (alloc_type &&a) | |
simple_list (node_type *raw) | |
simple_list (node_type *raw, const alloc_type &a) | |
simple_list (node_type *raw, alloc_type &&a) | |
simple_list (const simple_list &x) | |
simple_list (simple_list &&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> | |
simple_list (InputIt first, InputIt last, const alloc_type &a=alloc_type()) | |
simple_list (size_type n, const alloc_type &a=alloc_type()) | |
simple_list (size_type n, const T &x, const alloc_type &a=alloc_type()) | |
simple_list (std::initializer_list< T > l, const alloc_type &a=alloc_type()) | |
~simple_list () | |
simple_list & | operator= (const simple_list &x) |
simple_list & | operator= (simple_list &&x) |
void | swap (simple_list &other) |
node_type * | release () |
const alloc_type & | get_node_allocator () const |
alloc_type & | node_allocator () |
iterator | begin () |
weak_iterator | wbegin () |
T & | front () |
void | pop_front () |
void | push_front (const T &val) |
void | push_front (T &&val) |
template<typename... Args> | |
void | emplace_front (Args &&...args) |
bool | empty () const |
bool | singleton () 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) |
iterator | splice (const_iterator pos, simple_list &&other) |
iterator | erase (const_iterator pos) |
iterator | erase (const_iterator first, const_iterator last) |
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) |
const T & | front () const |
const_iterator | begin () const |
const_iterator | cbegin () const |
weak_const_iterator | wbegin () const |
weak_const_iterator | wcbegin () 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 Attributes | |
link_type | head |
Friends | |
class | sl_list< T, Alloc > |
|
private |
typedef sl_list_const_iterator<T, Alloc> atlas::containers::simple_list< T, Alloc >::const_iterator |
typedef const value_type* atlas::containers::simple_list< T, Alloc >::const_pointer |
typedef const value_type& atlas::containers::simple_list< T, Alloc >::const_reference |
typedef std::ptrdiff_t atlas::containers::simple_list< T, Alloc >::difference_type |
typedef sl_list_iterator<T, Alloc> atlas::containers::simple_list< T, Alloc >::iterator |
|
private |
|
private |
|
private |
typedef value_type* atlas::containers::simple_list< T, Alloc >::pointer |
typedef value_type& atlas::containers::simple_list< T, Alloc >::reference |
typedef std::size_t atlas::containers::simple_list< T, Alloc >::size_type |
typedef T atlas::containers::simple_list< T, Alloc >::value_type |
typedef weak_sl_list_const_iterator<T, Alloc> atlas::containers::simple_list< T, Alloc >::weak_const_iterator |
typedef weak_sl_list_iterator<T, Alloc> atlas::containers::simple_list< T, Alloc >::weak_iterator |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
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 |
|
friend |
|
private |