carb::cpp17::negation
Defined in carb/cpp17/TypeTraits.h
-
template<typename B>
struct negation : public bool_constant<!bool(B::value)> A logical not of
B
trait.- Template Parameters
B – The trait to evaluate the
value
member of. This must have a member constantvalue
which is convertible tobool
. Use of cpp17::bool_constant is helpful here.