diff --git a/include/utl/meta/if.h b/include/utl/meta/if.h index 66e5034..dc47928 100644 --- a/include/utl/meta/if.h +++ b/include/utl/meta/if.h @@ -56,10 +56,6 @@ namespace utl { //! Alias template for if_ template using if_t = typename if_<_C, _Tp>::type; - - //! Publicly recognized alias template for if_ - template - using enable_if_t = typename if_<_C, _Tp>::type; //! @} } diff --git a/include/utl/meta/sfinae.h b/include/utl/meta/sfinae.h index 3f9f0ac..22d0f34 100644 --- a/include/utl/meta/sfinae.h +++ b/include/utl/meta/sfinae.h @@ -109,6 +109,16 @@ namespace utl { template using use_if_both_t = typename use_if_both_<_T1, _T2, _Ret>::type; //! @} + + //! Publicly recognized alias template for if_t + template + using enable_if_t = typename if_<_C, _Tp>::type; + + //! Uniform use_ style alias template for if_t + //!@{ + template + using use_if_t = typename if_<_C, _Tp>::type; + //!@{ } //! @}