sparrow 1.0.0
Loading...
Searching...
No Matches
sparrow::mpl::testable Concept Reference

Concept for testable types in boolean contexts. More...

#include <mp_utils.hpp>

Concept definition

template<class T>
concept sparrow::mpl::testable = requires(T t) { t ? true : false; }
Concept for testable types in boolean contexts.

Detailed Description

Concept for testable types in boolean contexts.

Template Parameters
TType to check
Postcondition
True if T can be used in boolean conditions

Definition at line 1003 of file mp_utils.hpp.