This class provides a member, d_member, whose pointer-to-member may be used as an "unspecified boolean type" for implicit conversion operators.
Declared in <bsls_unspecifiedbool.h>
template<class BSLS_HOST_TYPE>
class UnspecifiedBool;
| Name | Description |
|---|---|
BoolType | Alias of a distinct type that is implicitly convertible to bool, but does not promote to int. |
| Name | Description |
|---|---|
falseValue | Return a value that converts to the bool value false. |
makeValue | Return a value that converts to the bool value true if the specified predicate is true, and the bool value false otherwise. |
trueValue | Return a value that converts to the bool value true. |
| Name | Description |
|---|---|
UnspecifiedBool<TestUtil_Guard> | This class provides a member, d_member, whose pointer-to-member may be used as an "unspecified boolean type" for implicit conversion operators. |