Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/libcxx/include/__type_traits/
H A Dcommon_type.h66 struct _LIBCPP_TEMPLATE_VIS common_type;
74 struct common_type {
82 __common_types<_Tp, _Up>, __void_t<typename common_type<_Tp, _Up>::type> >
84 typedef typename common_type<_Tp, _Up>::type type;
90 __void_t<typename common_type<_Tp, _Up>::type> >
91 : __common_type_impl<__common_types<typename common_type<_Tp, _Up>::type,
98 struct _LIBCPP_TEMPLATE_VIS common_type<> {};
103 struct _LIBCPP_TEMPLATE_VIS common_type<_Tp>
104 : public common_type<_Tp, _Tp> {};
110 struct _LIBCPP_TEMPLATE_VIS common_type<_Tp, _Up>
[all …]
H A Dcommon_reference.h171 template <class _Tp, class _Up> struct __common_reference_sub_bullet3 : common_type<_Tp, _Up> {};
/openbsd-src/gnu/llvm/libcxx/include/__chrono/
H A Dduration.h53 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::duration<_Rep1, _Period1>,
56 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type,
86 …typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::ty…
98 …typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::ty…
110 …typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::ty…
282 …_VISIBILITY _LIBCPP_CONSTEXPR typename common_type<duration>::type operator+() const {return typen…
283 …_VISIBILITY _LIBCPP_CONSTEXPR typename common_type<duration>::type operator-() const {return typen…
324 typedef typename common_type<_LhsDuration, _RhsDuration>::type _Ct;
365 typedef typename common_type<_LhsDuration, _RhsDuration>::type _Ct;
425 typename common_type<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >::type
[all …]
H A Dtime_point.h77 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::time_point<_Clock, _Duration1>,
80 typedef chrono::time_point<_Clock, typename common_type<_Duration1, _Duration2>::type> type;
207 time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type>
210 …typedef time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type> _Tr;
218 time_point<_Clock, typename common_type<duration<_Rep1, _Period1>, _Duration2>::type>
228 time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type>
231 …typedef time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type> _Re…
239 typename common_type<_Duration1, _Duration2>::type
/openbsd-src/gnu/llvm/clang/www/
H A Dlibstdc++4.6-clang11.patch6 struct common_type<_Tp, _Up>
11 struct common_type<_Tp, _Up, _Vp...>
H A Dlibstdc++4.7-clang11.patch8 struct common_type<_Tp, _Up>
13 struct common_type<_Tp, _Up, _Vp...>
/openbsd-src/gnu/llvm/libcxx/include/
H A Dchrono79 constexpr common_type<duration>::type operator+() const;
80 constexpr common_type<duration>::type operator-() const;
144 // common_type traits
146 struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>>;
149 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>;
156 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type
160 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type
164 duration<typename common_type<Rep1, Rep2>::type, Period>
168 duration<typename common_type<Rep1, Rep2>::type, Period>
172 duration<typename common_type<Rep1, Rep2>::type, Period>
[all …]
H A Dtype_traits166 template <class... T> struct common_type;
232 using common_type_t = typename common_type<T...>::type; // C++14
435 #include <__type_traits/common_type.h>
H A Dscoped_allocator116 #include <__type_traits/common_type.h>
375 : public common_type
H A Dutility116 struct common_type<pair<T1, T2>, pair<U1, U2>>; // since C++23
/openbsd-src/gnu/llvm/libcxx/docs/Status/
H A DZipProjects.csv2 | `[tuple.syn] <https://wg21.link/tuple.syn>`_, "`[tuple] basic_common_reference, common_type <http…
4 | `[utility.syn] <https://wg21.link/utility.syn>`_, "[pair] basic_common_reference, common_type", N…
H A DSpaceshipPapers.csv8 `LWG3380 <https://wg21.link/LWG3380>`_,common_type and comparison categories,|Nothing To Do|,
H A DCxx17Papers.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"
/openbsd-src/gnu/llvm/libcxx/include/__algorithm/
H A Dsample.h84 using _CommonType = typename common_type<_Distance, _Difference>::type; in __sample()
H A Dcopy.h78 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type; in operator()
H A Dcopy_backward.h94 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type; in operator()
H A Dmove_backward.h85 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type; in operator()
H A Dmove.h79 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type; in operator()
/openbsd-src/gnu/gcc/gcc/
H A Dtree-ssa-loop-ivopts.c3040 tree common_type; in get_computation_aff() local
3121 common_type = determine_common_wider_type (&ubase, &cbase); in get_computation_aff()
3126 if (uutype != common_type) in get_computation_aff()
3127 cstep = fold_convert (common_type, cstep); in get_computation_aff()
3128 cbase = fold_build2 (PLUS_EXPR, common_type, cbase, cstep); in get_computation_aff()
3139 if (TYPE_PRECISION (common_type) > HOST_BITS_PER_WIDE_INT) in get_computation_aff()
3147 delta = fold_build2 (MINUS_EXPR, common_type, ubase, cbase); in get_computation_aff()
3148 if (uutype != common_type) in get_computation_aff()
3154 delta = fold_build2 (PLUS_EXPR, common_type, ubase, cbase); in get_computation_aff()
3155 if (uutype != common_type) in get_computation_aff()
[all …]
H A Dc-common.h771 extern tree common_type (tree, tree);
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dc-typeck.c218 common_type (t1, t2) in common_type() function
255 tree subtype = common_type (subtype1, subtype2);
326 tree target = common_type (TYPE_MAIN_VARIANT (pointed_to_1),
335 t1 = build_pointer_type (common_type (TREE_TYPE (t1), TREE_TYPE (t2)));
341 tree elt = common_type (TREE_TYPE (t1), TREE_TYPE (t2));
356 tree valtype = common_type (TREE_TYPE (t1), TREE_TYPE (t2));
442 TREE_VALUE (n) = common_type (TREE_VALUE (p1), TREE_VALUE (p2));
2169 result_type = common_type (type0, type1);
2217 result_type = common_type (type0, type1);
2242 result_type = common_type (type0, type1);
[all …]
H A Dc-common.h1201 extern tree common_type PARAMS ((tree, tree));
/openbsd-src/gnu/gcc/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 …]
/openbsd-src/gnu/llvm/libcxx/include/__memory/
H A Dunique_ptr.h539 typedef typename common_type<_P1, _P2>::type _Vp;
/openbsd-src/gnu/llvm/libcxx/include/__utility/
H A Dpair.h507 struct common_type<pair<_T1, _T2>, pair<_U1, _U2>> {

123