실험적 라이브러리 헤더 <experimental/ranges/type_traits>
cppreference.net에서
이 헤더는 ranges 라이브러리의 일부입니다.
메타프로그래밍과 타입 트레이트
|
다음 네임스페이스에 정의됨
std::experimental::ranges
|
|
|
특정 타입의 객체가 동일한 타입이나 다른 타입의 객체와 교환 가능한지 확인
(클래스 템플릿) |
|
|
타입 집합의 공통 참조 타입을 결정
(클래스 템플릿) |
|
|
타입 집합의 공통 타입을 결정
(클래스 템플릿) |
|
시놉시스
namespace std { namespace experimental { namespace ranges { inline namespace v1 { template <class T, class U> struct is_swappable_with; template <class T> struct is_swappable; template <class T, class U> struct is_nothrow_swappable_with; template <class T> struct is_nothrow_swappable; template <class T, class U> constexpr bool is_swappable_with_v = is_swappable_with<T, U>::value; template <class T> constexpr bool is_swappable_v = is_swappable<T>::value; template <class T, class U> constexpr bool is_nothrow_swappable_with_v = is_nothrow_swappable_with<T, U>::value; template <class T> constexpr bool is_nothrow_swappable_v = is_nothrow_swappable<T>::value; template <class... T> struct common_type; template <class T, class U, template <class> class TQual, template <class> class UQual> struct basic_common_reference { }; template <class... T> struct common_reference; template <class... T> using common_type_t = typename common_type<T...>::type; template <class... T> using common_reference_t = typename common_reference<T...>::type; }}}}