Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

vector<bool>::reference Class 

The template<class Allocator> class vector< bool, allocator > reference class is a nested class in the vector<bool> Class whose objects are able to provide references to elements (single bits) within a vector<bool> object. C++ does not natively allow a reference to bits. But vector<bool> uses only one bit per element and these can be referenced using the objects in the nested class reference.

Header: <vector>

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.