#include <apibase.h>
Use this class when you need a default argument for parameters of type Bool&. As an example, consider a function which adds elements to some set:
e could already exist before in the set, so added is set to indicate if e was really added. If you as a caller are not interested in this, the default argument helps to provide a valid temporary lvalue object.
Public Member Functions | |
| operator Bool & () | |
Private Attributes | |
| Bool | _value |
| operator Bool & | ( | ) |
|
private |