GNU g++  v5.2.1
GNU Standard C++
stl_bvector.h File Reference

This is an internal header file, included by other library headers. More...

#include <bits/stl_vector.h>
Include dependency graph for stl_bvector.h:

Functions

namespace std _GLIBCXX_VISIBILITY (default)
 

Detailed Description

This is an internal header file, included by other library headers.

Do not attempt to use it directly. {vector}

Function Documentation

namespace std _GLIBCXX_VISIBILITY ( default  )

A specialization of vector for booleans which offers fixed time access to individual elements in any order.

Template Parameters
_AllocAllocator type.

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.

See also
vector for function documentation.

In some terminology a vector can be described as a dynamic C-style array, it offers fast and efficient access to individual elements in any order and saves the user from worrying about memory and size allocation. Subscripting ( [] ) access is also provided as with C-style arrays.

References std::__exception_ptr::operator!=(), __gnu_debug::operator+(), __gnu_debug::operator-(), __gnu_debug::operator<(), __gnu_debug::operator<=(), std::__exception_ptr::operator==(), __gnu_debug::operator>(), __gnu_debug::operator>=(), and std::__exception_ptr::swap().

Here is the call graph for this function: