Searched refs:common_type (Results 1 - 6 of 6) sorted by relevance

/external/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
H A Dcommon_type.pass.cpp12 // common_type
18 static_assert((std::is_same<std::common_type<int>::type, int>::value), "");
19 static_assert((std::is_same<std::common_type<char>::type, char>::value), "");
25 static_assert((std::is_same<std::common_type< int>::type, int>::value), "");
26 static_assert((std::is_same<std::common_type<const int>::type, int>::value), "");
27 static_assert((std::is_same<std::common_type< volatile int>::type, int>::value), "");
28 static_assert((std::is_same<std::common_type<const volatile int>::type, int>::value), "");
30 static_assert((std::is_same<std::common_type<int, int>::type, int>::value), "");
31 static_assert((std::is_same<std::common_type<int, const int>::type, int>::value), "");
33 static_assert((std::is_same<std::common_type<lon
[all...]
H A DAndroid.mk43 test_name := utilities/meta/meta.trans/meta.trans.other/common_type
44 test_src := common_type.pass.cpp
/external/clang/test/SemaCXX/
H A Dlibstdcxx_common_type_hack.cpp4 // an issue with GCC's <type_traits> implementation. std::common_type
14 template<typename...Ts> struct common_type {}; struct in namespace:std
15 template<typename A, typename B> struct common_type<A, B> { struct in namespace:std
28 using T = std::common_type<int, int>::type;
/external/libcxx/test/utilities/time/time.traits/time.traits.specializations/
H A Dduration.pass.cpp13 // struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>>
15 // typedef chrono::duration<typename common_type<Rep1, Rep2>::type, see below }> type;
24 typedef typename std::common_type<D1, D2>::type Dc;
H A Dtime_point.pass.cpp13 // struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>
15 // typedef chrono::time_point<Clock, typename common_type<Duration1, Duration2>::type> type;
28 typedef typename std::common_type<T1, T2>::type Tc;
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DExprNodes.py9839 def find_common_type(self, env, op, operand1, common_type=None):
9867 elif common_type is None or not common_type.is_pyobject:
9907 if common_type is None or new_common_type.is_error:
9908 common_type = new_common_type
9913 common_type = PyrexTypes.spanning_type(common_type, new_common_type)
9916 common_type = self.cascade.find_common_type(env, self.operator, operand2, common_type)
9918 return common_type
[all...]

Completed in 183 milliseconds