Variable Acts::concept::require¶
Defined in File TypeTraits.hpp
Variable Documentation¶
-
template<bool... Bs> constexpr bool concept::Acts::require = std::conjunction<std::bool_constant<Bs>...>::value
Define some sort of “Domain Specific Languagr” 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