|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
f(args...) is a valid call whose result is usable as a condition.
More...
#include <ah-concepts.H>
f(args...) is a valid call whose result is usable as a condition.
Mirrors if (f(args...)) or not f(args...): the result only needs to be contextually convertible to bool. This is deliberately weaker than std::predicate, which demands an implicit conversion and would reject results with only an explicit operator bool() (such as std::optional or smart pointers) that those call sites accept.
| F | callable type, including its reference/const category. |
| Args | argument types, including their reference/const category. |
Definition at line 480 of file ah-concepts.H.