共用方式為


vector<bool>::const_reference

A type that describes an object that can serve as a constant reference to a Boolean element of the sequence contained by the vector<bool> object.

typedef bool const_reference;

Remarks

For more information and code examples, see vector<bool>::reference::operator=.

Requirements

Header: <vector>

Namespace: std

See Also

Reference

vector Class

Standard Template Library