Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::list Class Template Reference

#include <stl_list.h>

Inherits std::_List_base< _Tp, _Alloc >.

List of all members.

Public Types


Public Methods


Protected Types


Protected Methods

template<class _Tp, class _Alloc = allocator<_Tp>> class std::list


Member Typedef Documentation

typedef void* _Void_pointer [protected]
 

typedef _Tp value_type
 

typedef value_type* pointer
 

typedef const value_type* const_pointer
 

typedef value_type& reference
 

typedef const value_type& const_reference
 

typedef _List_node<_Tp> _Node
 

typedef size_t size_type
 

typedef ptrdiff_t difference_type
 

typedef _Base::allocator_type allocator_type
 

Reimplemented from std::_List_base.

typedef _List_iterator<_Tp,_Tp&,_Tp*> iterator
 

typedef _List_iterator<_Tp,const _Tp&,const _Tp*> const_iterator
 

typedef reverse_iterator<const_iterator> const_reverse_iterator
 

typedef reverse_iterator<iterator> reverse_iterator
 


Constructor & Destructor Documentation

list ( const allocator_type & __a = allocator_type() ) [inline, explicit]
 

list ( size_type __n,
const _Tp & __value,
const allocator_type & __a = allocator_type() ) [inline]
 

list ( size_type __n ) [inline, explicit]
 

list ( _InputIterator __first,
_InputIterator __last,
const allocator_type & __a = allocator_type() ) [inline]
 

list ( const list< _Tp, _Alloc > & __x ) [inline]
 

~list ( ) [inline]
 


Member Function Documentation

allocator_type get_allocator ( ) const [inline]
 

Reimplemented from std::_List_alloc_base.

_Node * _M_create_node ( const _Tp & __x ) [inline, protected]
 

_Node * _M_create_node ( ) [inline, protected]
 

iterator begin ( ) [inline]
 

const_iterator begin ( ) const [inline]
 

iterator end ( ) [inline]
 

const_iterator end ( ) const [inline]
 

reverse_iterator rbegin ( ) [inline]
 

const_reverse_iterator rbegin ( ) const [inline]
 

reverse_iterator rend ( ) [inline]
 

const_reverse_iterator rend ( ) const [inline]
 

bool empty ( ) const [inline]
 

size_type size ( ) const [inline]
 

size_type max_size ( ) const [inline]
 

reference front ( ) [inline]
 

const_reference front ( ) const [inline]
 

reference back ( ) [inline]
 

const_reference back ( ) const [inline]
 

void swap ( list< _Tp, _Alloc > & __x ) [inline]
 

iterator insert ( iterator __position,
const _Tp & __x ) [inline]
 

iterator insert ( iterator __position ) [inline]
 

void _M_insert_dispatch ( iterator __pos,
_Integer __n,
_Integer __x,
__true_type ) [inline]
 

void _M_insert_dispatch ( iterator __pos,
_InputIterator __first,
_InputIterator __last,
__false_type )
 

void insert ( iterator __pos,
_InputIterator __first,
_InputIterator __last ) [inline]
 

void insert ( iterator __pos,
size_type __n,
const _Tp & __x ) [inline]
 

void _M_fill_insert ( iterator __pos,
size_type __n,
const _Tp & __x )
 

void push_front ( const _Tp & __x ) [inline]
 

void push_front ( ) [inline]
 

void push_back ( const _Tp & __x ) [inline]
 

void push_back ( ) [inline]
 

iterator erase ( iterator __position ) [inline]
 

iterator erase ( iterator __first,
iterator __last )
 

void clear ( ) [inline]
 

Reimplemented from std::_List_base.

void resize ( size_type __new_size,
const _Tp & __x )
 

void resize ( size_type __new_size ) [inline]
 

void pop_front ( ) [inline]
 

void pop_back ( ) [inline]
 

list<_Tp, _Alloc>& operator= ( const list< _Tp, _Alloc > & __x )
 

void assign ( size_type __n,
const _Tp & __val ) [inline]
 

void _M_fill_assign ( size_type __n,
const _Tp & __val )
 

void assign ( _InputIterator __first,
_InputIterator __last ) [inline]
 

void _M_assign_dispatch ( _Integer __n,
_Integer __val,
__true_type ) [inline]
 

void _M_assign_dispatch ( _InputIterator __first,
_InputIterator __last,
__false_type )
 

void transfer ( iterator __position,
iterator __first,
iterator __last ) [inline, protected]
 

void splice ( iterator __position,
list<_Tp, _Alloc> & __x ) [inline]
 

void splice ( iterator __position,
list<_Tp, _Alloc> &,
iterator __i ) [inline]
 

void splice ( iterator __position,
list<_Tp, _Alloc> &,
iterator __first,
iterator __last ) [inline]
 

void remove ( const _Tp & __value )
 

void unique ( )
 

void merge ( list<_Tp, _Alloc> & __x )
 

void reverse ( ) [inline]
 

void sort ( )
 

void remove_if ( _Predicate )
 

void unique ( _BinaryPredicate )
 

void merge ( list<_Tp, _Alloc> &,
_StrictWeakOrdering )
 

void sort ( _StrictWeakOrdering )
 


The documentation for this class was generated from the following file:
Generated at Fri Apr 6 15:54:34 2001 for libstdc++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001