Home
last modified time | relevance | path

Searched defs:common_type (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.common/
H A Dcommon_with.compile.pass.cpp277 typename std::common_type_t<BadBasicCommonType, int>;
542 using type = void;
547 using type = void;
552 using type = void;
557 using type = void;
562 using type = void;
567 using type = void;
572 using type = void;
704 !HasCommonReference<std::common_type_t<T7, int>&,
715 using type = int;
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dcommon_type.pass.cpp39 struct common_type<T, ::S<T> > struct
41 typedef S<T> type;
45 struct common_type< ::S<T>, T> { struct
46 typedef S<T> type;
51 struct common_type< ::S<T>, ::S<T> > { struct
55 template <> struct common_type< ::S<long>, long> {}; struct
56 template <> struct common_type<long, ::S<long> > {}; struct
57 template <> struct common_type< ::X<double>, ::X<double> > {}; struct
73 struct no_common_type : no_common_type_imp<std::common_type<Tp, Up, Vp> > {};
271 struct std::common_type<A, std::tuple<B>> { struct in std
[all …]
H A Dcommon_reference.compile.pass.cpp49 struct common_type<X2, Y2> { struct
50 using type = Z2;
53 struct common_type<Y2, X2> { struct
54 using type = Z2;
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dlibstdcxx_common_type_hack.cpp14 template<typename...Ts> struct common_type {}; struct
15 template<typename A, typename B> struct common_type<A, B> { struct
28 using T = std::common_type<int, int>::type;