|
@@ -55,16 +55,16 @@ namespace utl { |
|
|
//! @}
|
|
|
//! @}
|
|
|
|
|
|
|
|
|
//! Alias template for if_
|
|
|
//! Alias template for if_
|
|
|
template<bool _C, typename _Tp = void>
|
|
|
|
|
|
using if_t = typename if_<_C, _Tp>::type;
|
|
|
|
|
|
|
|
|
template<bool _Check, typename _Tp = void>
|
|
|
|
|
|
using if_t = typename if_<_Check, _Tp>::type;
|
|
|
|
|
|
|
|
|
//! Publicly recognized alias template for if_
|
|
|
//! Publicly recognized alias template for if_
|
|
|
template<bool _C, typename _Tp = void>
|
|
|
|
|
|
using enable_if_t = typename if_<_C, _Tp>::type;
|
|
|
|
|
|
|
|
|
template<bool _Check, typename _Tp = void>
|
|
|
|
|
|
using enable_if_t = typename if_<_Check, _Tp>::type;
|
|
|
|
|
|
|
|
|
//! Uniform alias template for if_
|
|
|
//! Uniform alias template for if_
|
|
|
template<bool _C, typename _Tp = void>
|
|
|
|
|
|
using use_if_t = typename if_<_C, _Tp>::type;
|
|
|
|
|
|
|
|
|
template<bool _Check, typename _Tp = void>
|
|
|
|
|
|
using use_if_t = typename if_<_Check, _Tp>::type;
|
|
|
|
|
|
|
|
|
//! If same type resolves to _Ret, else SFINAE
|
|
|
//! If same type resolves to _Ret, else SFINAE
|
|
|
template <typename _T1, typename _T2, typename _Ret =_T1>
|
|
|
template <typename _T1, typename _T2, typename _Ret =_T1>
|
|
|