소스 검색

meta: Some alias for uniforming

doc
Christos Houtouridis 5 년 전
부모
커밋
ab729c5c81
2개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. +0
    -4
      include/utl/meta/if.h
  2. +10
    -0
      include/utl/meta/sfinae.h

+ 0
- 4
include/utl/meta/if.h 파일 보기

@@ -56,10 +56,6 @@ namespace utl {
//! Alias template for if_
template<bool _C, typename _Tp = void>
using if_t = typename if_<_C, _Tp>::type;
//! Publicly recognized alias template for if_
template<bool _C, typename _Tp = void>
using enable_if_t = typename if_<_C, _Tp>::type;
//! @}
}


+ 10
- 0
include/utl/meta/sfinae.h 파일 보기

@@ -109,6 +109,16 @@ namespace utl {
template <typename _T1, typename _T2, typename _Ret =_T1>
using use_if_both_t = typename use_if_both_<_T1, _T2, _Ret>::type;
//! @}
//! Publicly recognized alias template for if_t
template<bool _C, typename _Tp = void>
using enable_if_t = typename if_<_C, _Tp>::type;
//! Uniform use_ style alias template for if_t
//!@{
template<bool _C, typename _Tp = void>
using use_if_t = typename if_<_C, _Tp>::type;
//!@{
}
//! @}


불러오는 중...
취소
저장