Determines, whether B behaves as a the builtin type bool.
More...
#include <Concepts.hpp>
template<typename B>
std::convertible_to<B, bool>
&& requires(B&& b) {
{ !std::forward<B>(b) } -> std::convertible_to<bool>;
}
Determines, whether B behaves as a the builtin type bool.
Definition Concepts.hpp:66
Determines, whether B behaves as a the builtin type bool.
- See also
- https://en.cppreference.com/w/cpp/concepts/boolean-testable