Home
last modified time | relevance | path

Searched refs:common_type (Results 1 – 25 of 87) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dchrono.h103 struct common_type<chrono::duration<_Rep1, _Period1>, in _GLIBCXX_VISIBILITY()
105 : __duration_common_type<common_type<_Rep1, _Rep2>, in _GLIBCXX_VISIBILITY()
112 struct common_type<chrono::duration<_Rep, _Period>, in _GLIBCXX_VISIBILITY()
115 using type = chrono::duration<typename common_type<_Rep>::type, in _GLIBCXX_VISIBILITY()
121 struct common_type<chrono::duration<_Rep, _Period>> in _GLIBCXX_VISIBILITY()
123 using type = chrono::duration<typename common_type<_Rep>::type, in _GLIBCXX_VISIBILITY()
149 struct common_type<chrono::time_point<_Clock, _Duration1>, in _GLIBCXX_VISIBILITY()
151 : __timepoint_common_type<common_type<_Duration1, _Duration2>, _Clock> in _GLIBCXX_VISIBILITY()
156 struct common_type<chrono::time_point<_Clock, _Duration>, in _GLIBCXX_VISIBILITY()
162 struct common_type<chrono::time_point<_Clock, _Duration>> in _GLIBCXX_VISIBILITY()
[all …]
H A Duniform_int_dist.h282 typedef typename common_type<_Gresult_type, __utype>::type __uctype; in _GLIBCXX_VISIBILITY()
377 typedef typename common_type<_Gresult_type, __utype>::type __uctype; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dchrono77 // 20.11.4.3 specialization of common_type (for duration, sfinae-friendly)
102 /// Specialization of common_type for chrono::duration types.
105 struct common_type<chrono::duration<_Rep1, _Period1>,
107 : __duration_common_type<common_type<_Rep1, _Rep2>,
112 /// Specialization of common_type for two identical chrono::duration types.
115 struct common_type<chrono::duration<_Rep, _Period>,
118 using type = chrono::duration<typename common_type<_Rep>::type,
122 /// Specialization of common_type for one chrono::duration type.
125 struct common_type<chrono::duration<_Rep, _Period>>
127 using type = chrono::duration<typename common_type<_Rep>::type,
[all …]
H A Dtype_traits2213 /// common_type
2215 struct common_type;
2217 // Sfinae-friendly common_type implementation:
2250 struct common_type<>
2255 struct common_type<_Tp0>
2256 : public common_type<_Tp0, _Tp0>
2266 using type = common_type<_Dp1, _Dp2>;
2280 struct common_type<_Tp1, _Tp2>
2293 struct common_type<_Tp1, _Tp2, _Rp...>
2294 : public __common_type_fold<common_type<_Tp1, _Tp2>,
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dchrono77 constexpr common_type<duration>::type operator+() const;
78 constexpr common_type<duration>::type operator-() const;
142 // common_type traits
144 struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>>;
147 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>;
159 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type
163 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type
167 duration<typename common_type<Rep1, Rep2>::type, Period>
171 duration<typename common_type<Rep1, Rep2>::type, Period>
175 duration<typename common_type<Rep1, Rep2>::type, Period>
[all …]
H A Dstring_view675 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
683 bool operator==(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
704 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
713 bool operator!=(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
733 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
740 bool operator<(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
758 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
765 bool operator>(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
783 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
790 bool operator<=(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
[all …]
H A Dtype_traits166 template <class... T> struct common_type;
232 using common_type_t = typename common_type<T...>::type; // C++14
2396 struct _LIBCPP_TEMPLATE_VIS common_type;
2404 struct common_type {
2406 "common_type accepts at most 3 arguments in C++03");
2413 typename __void_t<typename common_type<_Tp, _Up>::type>::type>
2415 typedef typename common_type<_Tp, _Up>::type type;
2421 typename __void_t<typename common_type<_Tp, _Up>::type>::type>
2422 : __common_type_impl<__common_types<typename common_type<_Tp, _Up>::type,
2429 struct _LIBCPP_TEMPLATE_VIS common_type<> {};
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-cxx11.cc53 static_assert(std::is_same<std::common_type<T>::type, Res>::value, "sorry") in check_common_type()
55 static_assert(std::is_same<std::common_type<T, U>::type, Res>::value, "sorry") in check_common_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vect-patterns.c463 tree *common_type) in vect_joust_widened_integer() argument
477 TYPE_SIGN (*common_type)); in vect_joust_widened_integer()
485 if (TYPE_PRECISION (*common_type) < precision) in vect_joust_widened_integer()
486 *common_type = build_nonstandard_integer_type in vect_joust_widened_integer()
487 (precision, TYPE_UNSIGNED (*common_type)); in vect_joust_widened_integer()
495 vect_joust_widened_type (tree type, tree new_type, tree *common_type) in vect_joust_widened_type() argument
497 if (types_compatible_p (*common_type, new_type)) in vect_joust_widened_type()
501 if ((TYPE_PRECISION (new_type) < TYPE_PRECISION (*common_type)) in vect_joust_widened_type()
502 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
506 if (TYPE_PRECISION (*common_type) < TYPE_PRECISION (new_type) in vect_joust_widened_type()
[all …]
H A Dtree-ssa-loop-ivopts.c3966 tree common_type, uutype, var, cstep_common; variable
4031 common_type = determine_common_wider_type (&ubase, &cbase);
4034 tree_to_aff_combination (ubase, common_type, aff_inv);
4035 tree_to_aff_combination (cbase, common_type, &aff_cbase);
4043 if (common_type != uutype)
4044 cstep_common = fold_convert (common_type, cstep);
4048 tree_to_aff_combination (cstep_common, common_type, &cstep_aff);
4054 if (common_type != uutype)
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vect-patterns.cc470 tree *common_type) in vect_joust_widened_integer() argument
484 TYPE_SIGN (*common_type)); in vect_joust_widened_integer()
492 if (TYPE_PRECISION (*common_type) < precision) in vect_joust_widened_integer()
493 *common_type = build_nonstandard_integer_type in vect_joust_widened_integer()
494 (precision, TYPE_UNSIGNED (*common_type)); in vect_joust_widened_integer()
502 vect_joust_widened_type (tree type, tree new_type, tree *common_type) in vect_joust_widened_type() argument
504 if (types_compatible_p (*common_type, new_type)) in vect_joust_widened_type()
508 if ((TYPE_PRECISION (new_type) < TYPE_PRECISION (*common_type)) in vect_joust_widened_type()
509 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
513 if (TYPE_PRECISION (*common_type) < TYPE_PRECISION (new_type) in vect_joust_widened_type()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Duniform_int_dist.h248 typedef typename std::common_type<_Gresult_type, __utype>::type in _GLIBCXX_VISIBILITY()
317 typedef typename std::common_type<_Gresult_type, __utype>::type in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20061543 * testsuite/util/regression/assoc/common_type.hpp: Same.
1545 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1546 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1547 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1548 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1889 * testsuite/util/regression/assoc/common_type.hpp: Same.
1897 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1898 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1899 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1900 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
[all …]
H A DChangeLog-20082359 * include/std/type_traits: Add common_type.
2360 * testsuite/20_util/common_type/requirements/
2362 * testsuite/20_util/common_type/requirements/
2961 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2962 * testsuite/util/common_type/priority_queue/detail/
2964 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2965 * testsuite/util/common_type/assoc/detail/
2967 * testsuite/util/common_type/assoc/detail/
2969 * testsuite/util/common_type/assoc/detail/
2971 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
[all …]
H A DChangeLog-2012992 * include/std/type_traits (common_type): Implement LWG 2141.
995 * testsuite/20_util/common_type/requirements/typedefs-1.cc: Likewise.
996 * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
998 * testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
1000 * testsuite/20_util/common_type/requirements/typedefs-2.cc: Likewise.
1253 * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
1255 * testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
1289 * testsuite/20_util/common_type/requirements/typedefs-1.cc: Likewise.
1290 * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
1295 * include/std/type_traits (common_type): Provide "SFINAE-friendly"
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/pstl/
H A Dparallel_backend_tbb.h444 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType; in execute()
487 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType;
626 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType; in __parallel_merge()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Darray67 : common_type<_Types...>
H A Dmemory206 return std::less<typename common_type<typename add_pointer<_Tp>::type,
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Darray67 : common_type<_Types...>
H A Dmemory207 return std::less<typename common_type<typename add_pointer<_Tp>::type,
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/pstl/
H A Dparallel_backend_tbb.h716 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType;
1093 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType;
1216 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType; in operator()
1257 typedef typename std::common_type<_DifferenceType1, _DifferenceType2>::type _SizeType; in __parallel_merge()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dtype_traits2257 /// common_type
2259 struct common_type;
2261 // Sfinae-friendly common_type implementation:
2295 struct common_type<>
2300 struct common_type<_Tp0>
2301 : public common_type<_Tp0, _Tp0>
2311 using type = common_type<_Dp1, _Dp2>;
2325 struct common_type<_Tp1, _Tp2>
2338 struct common_type<_Tp1, _Tp2, _Rp...>
2339 : public __common_type_fold<common_type<_Tp1, _Tp2>,
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/docs/
H A DCxx1zStatusPaperStatus.csv79 "`P0435R1 <https://wg21.link/P0435R1>`__","LWG","Resolving LWG Issues re ``common_type``\ ","Issaqu…
103 "`P0548R1 <https://wg21.link/P0548R1>`__","LWG","common_type and duration","Kona","|Complete|","5.0"
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DSTLExtras.h371 typename std::common_type<
377 typename std::common_type<
597 ZipType, typename std::common_type<std::bidirectional_iterator_tag,
764 typename std::common_type<
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A DChangeLog-1995416 * typeck.c (common_type): Call merge_machine_type_attributes.
614 * typeck.c (common_type): Likewise.
1375 (common_type): Use build_cplus_array_type.
1899 * typeck.c (common_type): Call lookup_attribute instead of
2337 * typeck.c (common_type): Handle inheritance for pmfs.
2349 * typeck.c (common_type): Assume that we can call common_type to
2379 * typeck.c (common_type): Handle unifying function types, and unify
2397 * typeck.c (common_type): Don't mess up templates.
2401 * typeck.c (common_type): Handle ptms properly. Also handle
3551 (common_type): t1 and t2 are interchangeable.
[all …]

1234