Variable Acts::Concepts::require¶
Defined in File TypeTraits.hpp
Variable Documentation¶
-
template<bool...
Bs
>
constexpr boolActs::Concepts
::
require
= std::conjunction<std::bool_constant<Bs>...>::value¶ Define some sort of “Domain Specific Language” to declare concepts a little more naturally.
These are taken from https://izzys.casa/2016/09/implementing-concepts-in-cxx/ Helper which combines a set of predicates (constexpr bools) with a logical AND. Converts to
std::bool_constant
.- Template Parameters
Bs
: The booleans to combine