Return a value that converts to the bool value true if the specified predicate is true, and the bool value false otherwise.
Declared in <bsls_unspecifiedbool.h>
static
UnspecifiedBool<BSLS_HOST_TYPE>::BoolType
makeValue(bool predicate);
value that converts to true if predicate is true; otherwise a value that converts to false
| Name | Description |
|---|---|
| predicate | boolean condition that selects the returned value |