mimic++ v9.2.1
Loading...
Searching...
No Matches
mimicpp::util::boolean_testable Concept Reference

Determines, whether B behaves as a the builtin type bool. More...

#include <Concepts.hpp>

Concept definition

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

Detailed Description

Determines, whether B behaves as a the builtin type bool.

See also
https://en.cppreference.com/w/cpp/concepts/boolean-testable