#include <stl_bvector.h>
Inheritance diagram for _GLIBCXX_STD::vector< bool, _Alloc >:
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_reference * | pointer |
typedef const bool * | const_pointer |
typedef _Bit_iterator | iterator |
typedef _Bit_const_iterator | const_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef _Bvector_base< _Alloc >::allocator_type | allocator_type |
Public Member Functions | |
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 () | |
vector & | operator= (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 _InputIterator> void | _M_assign_dispatch (_InputIterator __first, _InputIterator __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 () |
Static Public Member Functions | |
void | swap (reference __x, reference __y) |
Protected Member Functions | |
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) |
Note that vector<bool> does not actually meet the requirements for being a container. This is because the reference and pointer types are not really references and pointers to bool. See DR96 for details.
[] ) access is also provided as with C-style arrays.
Definition at line 415 of file stl_bvector.h.
|
Reimplemented from _GLIBCXX_STD::_Bvector_base< _Alloc >. Definition at line 432 of file stl_bvector.h. |
|
Definition at line 427 of file stl_bvector.h. |
|
Definition at line 424 of file stl_bvector.h. |
|
Definition at line 422 of file stl_bvector.h. |
|
Definition at line 429 of file stl_bvector.h. |
|
Definition at line 420 of file stl_bvector.h. |
|
Definition at line 426 of file stl_bvector.h. |
|
Definition at line 423 of file stl_bvector.h. |
|
Definition at line 421 of file stl_bvector.h. |
|
Definition at line 430 of file stl_bvector.h. |
|
Definition at line 419 of file stl_bvector.h. |
|
Definition at line 418 of file stl_bvector.h. |
|
Definition at line 641 of file stl_bvector.h. |
|
|
Definition at line 698 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), _GLIBCXX_STD::vector< _Tp, _Alloc >::end(), _GLIBCXX_STD::vector< _Tp, _Alloc >::erase(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::insert(). |
|
Definition at line 693 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_assign_aux(). |
|
Definition at line 689 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_fill_assign(). |
|
|
|
|
Definition at line 627 of file stl_bvector.h. |
|
Definition at line 618 of file stl_bvector.h. References std::fill(). |
|
Definition at line 487 of file stl_bvector.h. References std::copy(), and std::distance(). |
|
Definition at line 476 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::iterator, and _GLIBCXX_STD::vector< _Tp, _Alloc >::push_back(). |
|
|
Definition at line 796 of file stl_bvector.h. |
|
Definition at line 791 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_fill_insert(). |
|
|
Definition at line 496 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::insert(). |
|
Definition at line 578 of file stl_bvector.h. References __N, and _GLIBCXX_STD::vector< _Tp, _Alloc >::size(). |
|
Definition at line 682 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_assign_dispatch(). |
|
Definition at line 678 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_fill_assign(). |
|
Definition at line 587 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_range_check(). |
|
Definition at line 584 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_range_check(). |
|
Definition at line 750 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 747 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 539 of file stl_bvector.h. |
|
Definition at line 536 of file stl_bvector.h. |
|
Definition at line 566 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::const_iterator, and _GLIBCXX_STD::vector< _Tp, _Alloc >::size_type. |
|
Definition at line 871 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), _GLIBCXX_STD::vector< _Tp, _Alloc >::end(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::erase(). |
|
Definition at line 569 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 545 of file stl_bvector.h. |
|
Definition at line 542 of file stl_bvector.h. |
|
Definition at line 850 of file stl_bvector.h. References std::copy(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 842 of file stl_bvector.h. References std::copy(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 864 of file stl_bvector.h. References _GLIBCXX_STD::_Bit_type. |
|
Definition at line 744 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(). |
|
Definition at line 741 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(). |
|
Reimplemented from _GLIBCXX_STD::_Bvector_base< _Alloc >. Definition at line 434 of file stl_bvector.h. |
|
Definition at line 836 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_fill_insert(). |
|
Definition at line 803 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_insert_dispatch(). |
|
Definition at line 777 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_insert_aux(), _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 563 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::size_type. |
|
|
Definition at line 575 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::difference_type. |
|
Definition at line 572 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::difference_type. |
|
Definition at line 839 of file stl_bvector.h. |
|
Definition at line 753 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_insert_aux(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 551 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::const_reverse_iterator, and _GLIBCXX_STD::vector< _Tp, _Alloc >::end(). |
|
Definition at line 548 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::end(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::reverse_iterator. |
|
Definition at line 557 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::const_reverse_iterator. |
|
Definition at line 554 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::reverse_iterator. |
|
|
|
Definition at line 560 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), _GLIBCXX_STD::vector< _Tp, _Alloc >::end(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::size_type. |
|
Definition at line 770 of file stl_bvector.h. |
|
Definition at line 761 of file stl_bvector.h. References _GLIBCXX_STD::_Vector_base< _Tp, _Alloc >::_M_impl, and std::swap(). |
|
Definition at line 633 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::_M_initialize_dispatch(). |
|
Definition at line 610 of file stl_bvector.h. References _GLIBCXX_STD::vector< _Tp, _Alloc >::begin(), std::copy(), _GLIBCXX_STD::vector< _Tp, _Alloc >::end(), and _GLIBCXX_STD::vector< _Tp, _Alloc >::size(). |
|
Definition at line 602 of file stl_bvector.h. References std::fill(). |
|
Definition at line 593 of file stl_bvector.h. References std::fill(). |
|
Definition at line 590 of file stl_bvector.h. |