Bound to a boolean lvalue, it behaves like a boolean always with opposite value. More...
#include <BooleanNegatedProxy.h>
Public Member Functions | |
BooleanNegatedProxy (bool &v) | |
operator bool () const | |
Implicit conversion to boolean. | |
BooleanNegatedProxy & | operator= (const BooleanNegatedProxy &other) |
BooleanNegatedProxy & | operator= (bool v) |
Related Functions | |
(Note that these are not member functions.) | |
std::istream & | operator>> (std::istream &, BooleanNegatedProxy &) |
Input operator (output is trivial because of implicit conversion to boolean) More... | |
Bound to a boolean lvalue, it behaves like a boolean always with opposite value.
Definition at line 15 of file BooleanNegatedProxy.h.
|
inline |
v | The boolean lvalue to which the proxy is bound |
Definition at line 18 of file BooleanNegatedProxy.h.
|
related |
Input operator (output is trivial because of implicit conversion to boolean)