4.4.1
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::mpl::bool_concept Concept Reference

Concept for boolean constants. More...

#include <bool_concept.hpp>

Concept definition

template<typename T>
concept fcppt::mpl::bool_concept = std::is_same_v<typename T::type, std::true_type> ||
std::is_same_v<typename T::type, std::false_type>

Detailed Description

Concept for boolean constants.

A type is a boolean constant if and only if it is of the form std::bool_constant<V> for any bool V.