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

std::vector< bool, _Alloc > Class Template Reference

#include <stl_bvector.h>

Inheritance diagram for std::vector< bool, _Alloc >:

Inheritance graph
[legend]
Collaboration diagram for std::vector< bool, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef bool value_type
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef _Bit_reference reference
typedef bool const_reference
typedef _Bit_referencepointer
typedef const bool* const_pointer
typedef _Bit_iterator iterator
typedef _Bit_const_iterator const_iterator
typedef reverse_iterator<const_iteratorconst_reverse_iterator
typedef reverse_iterator<iteratorreverse_iterator
typedef _Bvector_base<_Alloc>::allocator_type allocator_type

Public Methods

allocator_type get_allocator () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type max_size () const
size_type capacity () const
bool empty () const
reference operator[] (size_type __n)
const_reference operator[] (size_type __n) const
void _M_range_check (size_type __n) const
reference at (size_type __n)
const_reference at (size_type __n) const
 vector (const allocator_type &__a=allocator_type())
 vector (size_type __n, bool __value, const allocator_type &__a=allocator_type())
 vector (size_type __n)
 vector (const vector &__x)
template<class _Integer> void _M_initialize_dispatch (_Integer __n, _Integer __x, __true_type)
template<class _InputIterator> void _M_initialize_dispatch (_InputIterator __first, _InputIterator __last, __false_type)
template<class _InputIterator>  vector (_InputIterator __first, _InputIterator __last, const allocator_type &__a=allocator_type())
 ~vector ()
vectoroperator= (const vector &__x)
void _M_fill_assign (size_t __n, bool __x)
void assign (size_t __n, bool __x)
template<class _InputIterator> void assign (_InputIterator __first, _InputIterator __last)
template<class _Integer> void _M_assign_dispatch (_Integer __n, _Integer __val, __true_type)
template<class _InputIter> void _M_assign_dispatch (_InputIter __first, _InputIter __last, __false_type)
template<class _InputIterator> void _M_assign_aux (_InputIterator __first, _InputIterator __last, input_iterator_tag)
template<class _ForwardIterator> void _M_assign_aux (_ForwardIterator __first, _ForwardIterator __last, forward_iterator_tag)
void reserve (size_type __n)
reference front ()
const_reference front () const
reference back ()
const_reference back () const
void push_back (bool __x)
void swap (vector< bool, _Alloc > &__x)
iterator insert (iterator __position, bool __x=bool())
template<class _Integer> void _M_insert_dispatch (iterator __pos, _Integer __n, _Integer __x, __true_type)
template<class _InputIterator> void _M_insert_dispatch (iterator __pos, _InputIterator __first, _InputIterator __last, __false_type)
template<class _InputIterator> void insert (iterator __position, _InputIterator __first, _InputIterator __last)
void _M_fill_insert (iterator __position, size_type __n, bool __x)
void insert (iterator __position, size_type __n, bool __x)
void pop_back ()
iterator erase (iterator __position)
iterator erase (iterator __first, iterator __last)
void resize (size_type __new_size, bool __x=bool())
void flip ()
void clear ()

Protected Methods

void _M_initialize (size_type __n)
void _M_insert_aux (iterator __position, bool __x)
template<class _InputIterator> void _M_initialize_range (_InputIterator __first, _InputIterator __last, input_iterator_tag)
template<class _ForwardIterator> void _M_initialize_range (_ForwardIterator __first, _ForwardIterator __last, forward_iterator_tag)
template<class _InputIterator> void _M_insert_range (iterator __pos, _InputIterator __first, _InputIterator __last, input_iterator_tag)
template<class _ForwardIterator> void _M_insert_range (iterator __position, _ForwardIterator __first, _ForwardIterator __last, forward_iterator_tag)

template<typename _Alloc> class std::vector< bool, _Alloc >


Member Typedef Documentation

template<typename _Alloc>
typedef _Bvector_base<_Alloc>::allocator_type std::vector< bool, _Alloc >::allocator_type
 

Reimplemented from std::_Bvector_base.

Definition at line 339 of file stl_bvector.h.

template<typename _Alloc>
typedef _Bit_const_iterator std::vector< bool, _Alloc >::const_iterator
 

Definition at line 334 of file stl_bvector.h.

template<typename _Alloc>
typedef const bool* std::vector< bool, _Alloc >::const_pointer
 

Definition at line 331 of file stl_bvector.h.

template<typename _Alloc>
typedef bool std::vector< bool, _Alloc >::const_reference
 

Definition at line 329 of file stl_bvector.h.

template<typename _Alloc>
typedef reverse_iterator<const_iterator> std::vector< bool, _Alloc >::const_reverse_iterator
 

Definition at line 336 of file stl_bvector.h.

template<typename _Alloc>
typedef ptrdiff_t std::vector< bool, _Alloc >::difference_type
 

Definition at line 327 of file stl_bvector.h.

template<typename _Alloc>
typedef _Bit_iterator std::vector< bool, _Alloc >::iterator
 

Definition at line 333 of file stl_bvector.h.

template<typename _Alloc>
typedef _Bit_reference* std::vector< bool, _Alloc >::pointer
 

Definition at line 330 of file stl_bvector.h.

template<typename _Alloc>
typedef _Bit_reference std::vector< bool, _Alloc >::reference
 

Definition at line 328 of file stl_bvector.h.

template<typename _Alloc>
typedef reverse_iterator<iterator> std::vector< bool, _Alloc >::reverse_iterator
 

Definition at line 337 of file stl_bvector.h.

template<typename _Alloc>
typedef size_t std::vector< bool, _Alloc >::size_type
 

Definition at line 326 of file stl_bvector.h.

template<typename _Alloc>
typedef bool std::vector< bool, _Alloc >::value_type
 

Definition at line 325 of file stl_bvector.h.


Constructor & Destructor Documentation

template<typename _Alloc>
std::vector< bool, _Alloc >::~vector< bool, _Alloc > ( ) [inline]
 

Definition at line 513 of file stl_bvector.h.


Member Function Documentation

template<typename _Alloc>
template<class _ForwardIterator>
void std::vector< bool, _Alloc >::_M_assign_aux ( _ForwardIterator __first,
_ForwardIterator __last,
forward_iterator_tag ) [inline]
 

Definition at line 571 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::_M_assign_aux ( _InputIterator __first,
_InputIterator __last,
input_iterator_tag ) [inline]
 

Definition at line 559 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIter>
void std::vector< bool, _Alloc >::_M_assign_dispatch ( _InputIter __first,
_InputIter __last,
__false_type ) [inline]
 

Definition at line 555 of file stl_bvector.h.

template<typename _Alloc>
template<class _Integer>
void std::vector< bool, _Alloc >::_M_assign_dispatch ( _Integer __n,
_Integer __val,
__true_type ) [inline]
 

Definition at line 551 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::_M_fill_assign ( size_t __n,
bool __x ) [inline]
 

Definition at line 531 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::_M_fill_insert ( iterator __position,
size_type __n,
bool __x ) [inline]
 

Definition at line 641 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::_M_initialize ( size_type __n ) [inline, protected]
 

Definition at line 352 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::_M_initialize_dispatch ( _InputIterator __first,
_InputIterator __last,
__false_type ) [inline]
 

Definition at line 499 of file stl_bvector.h.

template<typename _Alloc>
template<class _Integer>
void std::vector< bool, _Alloc >::_M_initialize_dispatch ( _Integer __n,
_Integer __x,
__true_type ) [inline]
 

Definition at line 493 of file stl_bvector.h.

template<typename _Alloc>
template<class _ForwardIterator>
void std::vector< bool, _Alloc >::_M_initialize_range ( _ForwardIterator __first,
_ForwardIterator __last,
forward_iterator_tag ) [inline, protected]
 

Definition at line 387 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::_M_initialize_range ( _InputIterator __first,
_InputIterator __last,
input_iterator_tag ) [inline, protected]
 

Definition at line 377 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::_M_insert_aux ( iterator __position,
bool __x ) [inline, protected]
 

Definition at line 358 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::_M_insert_dispatch ( iterator __pos,
_InputIterator __first,
_InputIterator __last,
__false_type ) [inline]
 

Definition at line 628 of file stl_bvector.h.

template<typename _Alloc>
template<class _Integer>
void std::vector< bool, _Alloc >::_M_insert_dispatch ( iterator __pos,
_Integer __n,
_Integer __x,
__true_type ) [inline]
 

Definition at line 622 of file stl_bvector.h.

template<typename _Alloc>
template<class _ForwardIterator>
void std::vector< bool, _Alloc >::_M_insert_range ( iterator __position,
_ForwardIterator __first,
_ForwardIterator __last,
forward_iterator_tag ) [inline, protected]
 

Definition at line 406 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::_M_insert_range ( iterator __pos,
_InputIterator __first,
_InputIterator __last,
input_iterator_tag ) [inline, protected]
 

Definition at line 396 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::_M_range_check ( size_type __n ) const [inline]
 

Definition at line 457 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::assign ( _InputIterator __first,
_InputIterator __last ) [inline]
 

Definition at line 545 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::assign ( size_t __n,
bool __x ) [inline]
 

Definition at line 542 of file stl_bvector.h.

template<typename _Alloc>
const_reference std::vector< bool, _Alloc >::at ( size_type __n ) const [inline]
 

Definition at line 464 of file stl_bvector.h.

template<typename _Alloc>
reference std::vector< bool, _Alloc >::at ( size_type __n ) [inline]
 

Definition at line 462 of file stl_bvector.h.

template<typename _Alloc>
const_reference std::vector< bool, _Alloc >::back ( ) const [inline]
 

Definition at line 598 of file stl_bvector.h.

template<typename _Alloc>
reference std::vector< bool, _Alloc >::back ( ) [inline]
 

Definition at line 597 of file stl_bvector.h.

template<typename _Alloc>
const_iterator std::vector< bool, _Alloc >::begin ( ) const [inline]
 

Definition at line 432 of file stl_bvector.h.

template<typename _Alloc>
iterator std::vector< bool, _Alloc >::begin ( ) [inline]
 

Definition at line 431 of file stl_bvector.h.

template<typename _Alloc>
size_type std::vector< bool, _Alloc >::capacity ( ) const [inline]
 

Definition at line 447 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::clear ( ) [inline]
 

Definition at line 686 of file stl_bvector.h.

template<typename _Alloc>
bool std::vector< bool, _Alloc >::empty ( ) const [inline]
 

Definition at line 450 of file stl_bvector.h.

template<typename _Alloc>
const_iterator std::vector< bool, _Alloc >::end ( ) const [inline]
 

Definition at line 434 of file stl_bvector.h.

template<typename _Alloc>
iterator std::vector< bool, _Alloc >::end ( ) [inline]
 

Definition at line 433 of file stl_bvector.h.

template<typename _Alloc>
iterator std::vector< bool, _Alloc >::erase ( iterator __first,
iterator __last ) [inline]
 

Definition at line 671 of file stl_bvector.h.

template<typename _Alloc>
iterator std::vector< bool, _Alloc >::erase ( iterator __position ) [inline]
 

Definition at line 665 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::flip ( ) [inline]
 

Definition at line 681 of file stl_bvector.h.

template<typename _Alloc>
const_reference std::vector< bool, _Alloc >::front ( ) const [inline]
 

Definition at line 596 of file stl_bvector.h.

template<typename _Alloc>
reference std::vector< bool, _Alloc >::front ( ) [inline]
 

Definition at line 595 of file stl_bvector.h.

template<typename _Alloc>
allocator_type std::vector< bool, _Alloc >::get_allocator ( ) const [inline]
 

Reimplemented from std::_Bvector_alloc_base.

Definition at line 340 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::insert ( iterator __position,
size_type __n,
bool __x ) [inline]
 

Definition at line 660 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
void std::vector< bool, _Alloc >::insert ( iterator __position,
_InputIterator __first,
_InputIterator __last ) [inline]
 

Definition at line 635 of file stl_bvector.h.

template<typename _Alloc>
iterator std::vector< bool, _Alloc >::insert ( iterator __position,
bool __x = bool() ) [inline]
 

Definition at line 610 of file stl_bvector.h.

template<typename _Alloc>
size_type std::vector< bool, _Alloc >::max_size ( ) const [inline]
 

Definition at line 446 of file stl_bvector.h.

template<typename _Alloc>
vector< bool, _Alloc > & std::vector< bool, _Alloc >::operator= ( const vector< bool, _Alloc > & __x ) [inline]
 

Definition at line 515 of file stl_bvector.h.

template<typename _Alloc>
const_reference std::vector< bool, _Alloc >::operator[] ( size_type __n ) const [inline]
 

Definition at line 454 of file stl_bvector.h.

template<typename _Alloc>
reference std::vector< bool, _Alloc >::operator[] ( size_type __n ) [inline]
 

Definition at line 452 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::pop_back ( ) [inline]
 

Definition at line 664 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::push_back ( bool __x ) [inline]
 

Definition at line 599 of file stl_bvector.h.

template<typename _Alloc>
const_reverse_iterator std::vector< bool, _Alloc >::rbegin ( ) const [inline]
 

Definition at line 437 of file stl_bvector.h.

template<typename _Alloc>
reverse_iterator std::vector< bool, _Alloc >::rbegin ( ) [inline]
 

Definition at line 436 of file stl_bvector.h.

template<typename _Alloc>
const_reverse_iterator std::vector< bool, _Alloc >::rend ( ) const [inline]
 

Definition at line 441 of file stl_bvector.h.

template<typename _Alloc>
reverse_iterator std::vector< bool, _Alloc >::rend ( ) [inline]
 

Definition at line 440 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::reserve ( size_type __n ) [inline]
 

Definition at line 585 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::resize ( size_type __new_size,
bool __x = bool() ) [inline]
 

Definition at line 675 of file stl_bvector.h.

template<typename _Alloc>
size_type std::vector< bool, _Alloc >::size ( ) const [inline]
 

Definition at line 445 of file stl_bvector.h.

template<typename _Alloc>
void std::vector< bool, _Alloc >::swap ( vector< bool, _Alloc > & __x ) [inline]
 

Definition at line 605 of file stl_bvector.h.

template<typename _Alloc>
template<class _InputIterator>
std::vector< bool, _Alloc >::vector< bool, _Alloc > ( _InputIterator __first,
_InputIterator __last,
const allocator_type & __a = allocator_type() ) [inline]
 

Definition at line 505 of file stl_bvector.h.

template<typename _Alloc>
std::vector< bool, _Alloc >::vector< bool, _Alloc > ( const vector< bool, _Alloc > & __x ) [inline]
 

Definition at line 485 of file stl_bvector.h.

template<typename _Alloc>
std::vector< bool, _Alloc >::vector< bool, _Alloc > ( size_type __n ) [inline, explicit]
 

Definition at line 478 of file stl_bvector.h.

template<typename _Alloc>
std::vector< bool, _Alloc >::vector< bool, _Alloc > ( size_type __n,
bool __value,
const allocator_type & __a = allocator_type() ) [inline]
 

Definition at line 470 of file stl_bvector.h.

template<typename _Alloc>
std::vector< bool, _Alloc >::vector< bool, _Alloc > ( const allocator_type & __a = allocator_type() ) [inline, explicit]
 

Definition at line 467 of file stl_bvector.h.


The documentation for this class was generated from the following file:
Generated at Tue May 1 16:30:36 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001