vector<bool>::reference::operator bool
Provides an implicit conversion from vector<bool>::reference to bool.
operator bool( ) const;
Return Value
The Boolean value of the element of the vector<bool> object.
Remarks
The vector<bool> object cannot be modified by this operator.
Requirements
Header: <vector>
Namespace: std