Partager via


vector<bool> Class

The STL vector<bool> class is a partial specialization of the template vector Class for elements of type bool with an allocator for the underlying type used by the specialization.

For a list of all members of this type, see vector<bool> Members.

template<class Allocator> class vector< bool, allocator >

Remarks

The vector<bool> reference Class is a nested class whose objects are able to provide references to elements (single bits) within a vector<bool> object.

Requirements

Header: <vector>

Namespace: std

See Also

Concepts

vector<bool> Members

<vector> Members

Thread Safety in the Standard C++ Library

Standard Template Library