diff --git a/proxy.h b/proxy.h index 87f00b96..7eac149f 100644 --- a/proxy.h +++ b/proxy.h @@ -29,8 +29,10 @@ template class proxy; namespace details { -struct applicable_traits { static constexpr bool applicable = true; }; -struct inapplicable_traits { static constexpr bool applicable = false; }; +template +struct conditional_traits { static constexpr bool applicable = A; }; +using applicable_traits = conditional_traits; +using inapplicable_traits = conditional_traits; template