Home
last modified time | relevance | path

Searched refs:Ts (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/third_party/boost/boost/histogram/axis/
Dostream.hpp59 template <class OStream, class... Ts>
60 OStream& ostream_any_quoted(OStream& os, const std::basic_string<Ts...>& s) { in ostream_any_quoted()
69 template <class... Ts, class T>
70 std::basic_ostream<Ts...>& ostream_metadata(std::basic_ostream<Ts...>& os, const T& t, in ostream_metadata()
114 template <class... Ts>
115 std::basic_ostream<Ts...>& operator<<(std::basic_ostream<Ts...>& os, const null_type&) { in operator <<()
119 template <class... Ts, class U>
120 std::basic_ostream<Ts...>& operator<<(std::basic_ostream<Ts...>& os, in operator <<()
125 template <class... Ts, class U>
126 std::basic_ostream<Ts...>& operator<<(std::basic_ostream<Ts...>& os, in operator <<()
[all …]
/third_party/boost/boost/hof/
Dpack.hpp98 template<class Seq, class... Ts>
118 template<class T, class Tag, class X, class... Ts, typename std::enable_if<
121 constexpr T pack_get(X&& x, Ts&&... xs) noexcept(BOOST_HOF_IS_NOTHROW_COPY_CONSTRUCTIBLE(T)) in pack_get()
126 template<class T, class Tag, class X, class... Ts, typename std::enable_if<
129 constexpr T pack_get(X&& x, Ts&&... xs) noexcept in pack_get()
134 template<class T, class Tag, class X, class... Ts, typename std::enable_if<
137 constexpr auto pack_get(X&& x, Ts&&... xs) BOOST_HOF_RETURNS
143 template<class... Ts>
145 : Ts::type...
147 template<class... Xs, class=typename std::enable_if<(sizeof...(Xs) == sizeof...(Ts))>::type>
[all …]
Dconstruct.hpp127 template<class... Ts, BOOST_HOF_ENABLE_IF_CONSTRUCTIBLE(T, Ts...)>
128 T operator()(Ts&&... xs) const BOOST_HOF_NOEXCEPT_CONSTRUCTIBLE(T, Ts&&...) in operator ()()
131 new(&buffer) T(BOOST_HOF_FORWARD(Ts)(xs)...); in operator ()()
169 template<class... Ts, BOOST_HOF_ENABLE_IF_CONSTRUCTIBLE(T, Ts...)>
170 constexpr T operator()(Ts&&... xs) const noexcept in operator ()()
172 return T(BOOST_HOF_FORWARD(Ts)(xs)...); in operator ()()
199 template<class... Ts, class Result=BOOST_HOF_JOIN(Template, typename D<Ts>::type...),
200 BOOST_HOF_ENABLE_IF_CONSTRUCTIBLE(Result, Ts...)>
201 constexpr Result operator()(Ts&&... xs) const BOOST_HOF_NOEXCEPT_CONSTRUCTIBLE(Result, Ts&&...) in operator ()()
203 return construct_f<Result>()(BOOST_HOF_FORWARD(Ts)(xs)...); in operator ()()
[all …]
Dapply_eval.hpp86 template<class R, class F, class Pack, class T, class... Ts>
87 constexpr R eval_ordered(const F& f, Pack&& p, T&& x, Ts&&... xs) in eval_ordered()
89 …OF_FORWARD(Pack)(p), boost::hof::pack_forward(boost::hof::eval(x))), BOOST_HOF_FORWARD(Ts)(xs)...); in eval_ordered()
97 template<class F, class... Ts>
98 …constexpr eval_helper(const F& f, Ts&&... xs) : result(boost::hof::apply(f, BOOST_HOF_FORWARD(Ts)(…
106 template<class F, class... Ts>
107 …constexpr eval_helper(const F& f, Ts&&... xs) : x((boost::hof::apply(f, BOOST_HOF_FORWARD(Ts)(xs).…
114 template<class F, class... Ts, class R=decltype(
115 boost::hof::apply(std::declval<const F&>(), boost::hof::eval(std::declval<Ts>())...)
119 …erator()(const F& f, Ts&&... xs) const BOOST_HOF_RETURNS_DEDUCE_NOEXCEPT(boost::hof::apply(f, boos… in operator ()()
[all …]
Dpartial.hpp92 template<class... Ts>
93 constexpr const F& get_function(Ts&&...) const noexcept in get_function()
98 template<class... Ts>
99 constexpr const Pack& get_pack(Ts&&...) const noexcept in get_pack()
106 template<class... Ts>
111 result_of<decltype(boost::hof::pack_forward), id_<Ts>...>
115 operator()(Ts&&... xs) const BOOST_HOF_SFINAE_RETURNS
120 boost::hof::pack_forward(BOOST_HOF_FORWARD(Ts)(xs)...)
135 template<class... Ts>
136 constexpr const F& get_function(Ts&&...) const noexcept in get_function()
[all …]
Dproj.hpp141 template<class Projection, class F, class... Ts,
143 std::declval<const F&>()(std::declval<const Projection&>()(std::declval<Ts>())...)
145 constexpr R by_eval(const Projection& p, const F& f, Ts&&... xs) in by_eval()
147 return boost::hof::apply_eval(f, make_project_eval(BOOST_HOF_FORWARD(Ts)(xs), p)...); in by_eval()
160 template<class Projection, class... Ts>
161 constexpr BOOST_HOF_ALWAYS_VOID_RETURN by_void_eval(const Projection& p, Ts&&... xs) in by_void_eval()
163 …boost::hof::always(), boost::hof::detail::make_project_void_eval(BOOST_HOF_FORWARD(Ts)(xs), p)...); in by_void_eval()
168 template<class... Ts>
169 constexpr swallow(Ts&&...) in swallow()
183 template<class... Ts>
[all …]
Dfix.hpp111 template<class... Ts>
114 typedef decltype(std::declval<F>()(std::declval<Ts>()...)) type;
140 template<class... Ts>
141 constexpr const F& base_function(Ts&&... xs) const noexcept in base_function()
146 template<class... Ts>
147 constexpr derived derived_function(Ts&&... xs) const noexcept in derived_function()
157 template<class... Ts>
159 : Failure::template of<derived, Ts...>
171 template<class... Ts>
172 constexpr BOOST_HOF_SFINAE_RESULT(const F&, id_<derived>, id_<Ts>...)
[all …]
Dfold.hpp92 template<class F, class State, class T, class... Ts>
93 …AE_MANUAL_RESULT(const v_fold&, id_<const F&>, result_of<const F&, id_<State>, id_<T>>, id_<Ts>...)
94 operator()(const F& f, State&& state, T&& x, Ts&&... xs) const BOOST_HOF_SFINAE_MANUAL_RETURNS
96 …THIS)(f, f(BOOST_HOF_FORWARD(State)(state), BOOST_HOF_FORWARD(T)(x)), BOOST_HOF_FORWARD(Ts)(xs)...)
115 template<class... Ts> in BOOST_HOF_INHERIT_CONSTRUCTOR()
116 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const noexcept in BOOST_HOF_INHERIT_CONSTRUCTOR()
121 template<class... Ts>
122 constexpr State get_state(Ts&&... xs) const noexcept in get_state()
129 template<class... Ts>
130 …OST_HOF_SFINAE_RESULT(detail::v_fold, id_<const detail::callable_base<F>&>, id_<State>, id_<Ts>...)
[all …]
Dreverse_fold.hpp94 template<class F, class State, class T, class... Ts>
95 …L_RESULT(const F&, result_of<const v_reverse_fold&, id_<const F&>, id_<State>, id_<Ts>...>, id_<T>)
96 operator()(const F& f, State&& state, T&& x, Ts&&... xs) const BOOST_HOF_SFINAE_MANUAL_RETURNS
98 …f((*BOOST_HOF_CONST_THIS)(f, BOOST_HOF_FORWARD(State)(state), BOOST_HOF_FORWARD(Ts)(xs)...), BOOST…
117 template<class... Ts> in BOOST_HOF_INHERIT_CONSTRUCTOR()
118 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const noexcept in BOOST_HOF_INHERIT_CONSTRUCTOR()
123 template<class... Ts>
124 constexpr State get_state(Ts&&... xs) const noexcept in get_state()
131 template<class... Ts>
132 …SFINAE_RESULT(detail::v_reverse_fold, id_<const detail::callable_base<F>&>, id_<State>, id_<Ts>...)
[all …]
Dunpack.hpp102 template<class... Ts>
103 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const noexcept in base_function()
115 template<class... Ts>
116 typename Failure::template of<Ts...> operator()(Ts&&...) const;
128 template<class T, class... Ts, class=typename std::enable_if<(
129 is_unpackable<T>::value && BOOST_HOF_AND_UNPACK(is_unpackable<Ts>::value)
131 static auto deduce(T&& x, Ts&&... xs) BOOST_HOF_RETURNS
133 … boost::hof::detail::unpack_join(deducer(), BOOST_HOF_FORWARD(T)(x), BOOST_HOF_FORWARD(Ts)(xs)...)
136 template<class... Ts>
138 template<class... Ts, class=typename std::enable_if<(
[all …]
Ddecorate.hpp104 template<class... Ts> in BOOST_HOF_INHERIT_CONSTRUCTOR()
105 constexpr const compressed_pair<D, T>& get_pair(Ts&&... xs) const noexcept in BOOST_HOF_INHERIT_CONSTRUCTOR()
110 template<class... Ts>
111 constexpr const F& base_function(Ts&&... xs) const noexcept in base_function()
116 template<class... Ts>
117 constexpr const D& get_decorator(Ts&&... xs) const noexcept in get_decorator()
122 template<class... Ts>
123 constexpr const T& get_data(Ts&&... xs) const noexcept in get_data()
135 template<class... Ts>
137 : Failure::template of<const T&, const F&, Ts...>
[all …]
Drepeat_while.hpp81 template<class P, class... Ts>
84 typedef decltype(std::declval<P>()(std::declval<Ts>()...)) type;
90 template<class F, class P, class... Ts>
92 compute_predicate<P, typename result_of<const F&, id_<Ts>...>::type>::type::value
93 >, id_<const F&>, id_<const P&>, result_of<const F&, id_<Ts>...>)
94 operator()(const F& f, const P& p, Ts&&... xs) const BOOST_HOF_SFINAE_RETURNS
97 compute_predicate<P, decltype(f(BOOST_HOF_FORWARD(Ts)(xs)...))>::type::value
98 >()(f, p, f(BOOST_HOF_FORWARD(Ts)(xs)...))
115 template<class P, class F, class... Ts>
116 constexpr auto operator()(const P& p, const F& f, Ts&&... xs) const BOOST_HOF_RETURNS
[all …]
Dresult.hpp76 template<class... Ts>
77 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const in base_function()
82 …template<class... Ts, class=typename std::enable_if<(boost::hof::is_invocable<F, Ts...>::value)>::…
83 constexpr result_type operator()(Ts&&... xs) const in operator ()()
85 return this->base_function(xs...)(BOOST_HOF_FORWARD(Ts)(xs)...); in operator ()()
96 template<class... Ts>
97 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const in base_function()
102 …template<class... Ts, class=typename std::enable_if<(boost::hof::is_invocable<F, Ts...>::value)>::…
103 constexpr typename detail::holder<Ts...>::type operator()(Ts&&... xs) const in operator ()()
105 …return (typename detail::holder<Ts...>::type)this->base_function(xs...)(BOOST_HOF_FORWARD(Ts)(xs).… in operator ()()
Dindirect.hpp77 template<class... Ts>
78 constexpr const F& base_function(Ts&&... xs) const noexcept in base_function()
89 template<class... Ts>
90 constexpr BOOST_HOF_SFINAE_RESULT(decltype(*std::declval<F>()), id_<Ts>...)
91 operator()(Ts&&... xs) const BOOST_HOF_SFINAE_RETURNS
93 …OF_MANGLE_CAST(const F&)(BOOST_HOF_CONST_THIS->base_function(xs...)))(BOOST_HOF_FORWARD(Ts)(xs)...)
109 template<class... Ts>
110 constexpr F& base_function(Ts&&...) const noexcept in base_function()
121 template<class... Ts>
122 constexpr BOOST_HOF_SFINAE_RESULT(F, id_<Ts>...)
[all …]
Dcapture.hpp83 template<class... Ts> in BOOST_HOF_INHERIT_CONSTRUCTOR()
84 constexpr const detail::callable_base<F>& base_function(Ts&&... xs) const noexcept in BOOST_HOF_INHERIT_CONSTRUCTOR()
89 template<class... Ts>
90 constexpr const Pack& get_pack(Ts&&...xs) const noexcept in get_pack()
95 template<class Failure, class... Ts>
101 typedef typename Failure::template of<Us..., Ts...> type;
110 template<class... Ts>
112 : Pack::template apply<unpack_capture_failure<Failure, Ts...>>::type
123 template<class... Ts>
128 result_of<decltype(boost::hof::pack_forward), id_<Ts>...>
[all …]
Dreveal.hpp212 template<template<class...> class Template, class... Ts>
213 BOOST_HOF_USING(defer, Template<Ts...>);
215 template<template<class...> class Template, class... Ts>
216 static auto defer(Ts&&...) -> Template<Ts...>;
226 template<class... Ts>
231 using apply = decltype(Id()(std::declval<F>())(std::declval<Ts>()...));
234 static auto apply(Id id) -> decltype(id(std::declval<F>())(std::declval<Ts>()...));
247 template<class... Ts>
252 using apply = typename Id::template defer<Template, Ts...>;
255 static auto apply(Id) -> decltype(Id::template defer<Template, Ts...>());
[all …]
/third_party/boost/boost/hof/detail/
Dcan_be_called.hpp39 template<class... Ts>
40 auto operator()(Ts&&...) const
41 -> decltype(std::declval<F>()(std::declval<Ts>()...));
49 template<class F, class... Ts>
53 typedef cant_be_called_type const &(*pointer_to_function)(typename never_care<Ts>::type...);
62 template<class F, class... Ts>
65 is_callable_wrapper<F, Ts...>()(std::declval<Ts>()...)
69 template<class F, class... Ts>
72 template<class Res, class... Ts, class... Us>
73 struct check_args<Res(Us...), Ts...>
[all …]
/third_party/boost/boost/histogram/detail/
Dargs_type.hpp21 template <class R, class T, class... Ts>
22 struct args_type_impl<R (T::*)(Ts...)> {
23 using type = std::tuple<Ts...>;
26 template <class R, class T, class... Ts>
27 struct args_type_impl<R (T ::*)(Ts...) const> {
28 using type = std::tuple<Ts...>;
31 template <class R, class... Ts>
32 struct args_type_impl<R (*)(Ts...)> {
33 using type = std::tuple<Ts...>;
37 template <class R, class T, class... Ts>
[all …]
Daccumulator_traits.hpp26 template <bool WeightSupport, class... Ts>
29 using args = std::tuple<Ts...>;
33 template <class R, class T, class U, class... Ts>
34 accumulator_traits_holder<true, Ts...> accumulator_traits_impl_call_op(
35 R (T::*)(boost::histogram::weight_type<U>, Ts...));
37 template <class R, class T, class U, class... Ts>
38 accumulator_traits_holder<true, Ts...> accumulator_traits_impl_call_op(
39 R (T::*)(boost::histogram::weight_type<U>&, Ts...));
41 template <class R, class T, class U, class... Ts>
42 accumulator_traits_holder<true, Ts...> accumulator_traits_impl_call_op(
[all …]
Daxes.hpp98 template <class... Ts>
99 auto make_empty_dynamic_axes(const std::tuple<Ts...>&) { in make_empty_dynamic_axes() argument
101 using L = mp_unique<axis::variant<Ts...>>; in make_empty_dynamic_axes()
112 template <class... Ts, class Functor>
113 auto axes_transform(const std::tuple<Ts...>& old_axes, Functor&& f) { in axes_transform()
115 mp11::make_index_sequence<sizeof...(Ts)>{}); in axes_transform()
127 template <class... Ts, class Binary, std::size_t... Is>
128 std::tuple<Ts...> axes_transform_impl(const std::tuple<Ts...>& lhs, in axes_transform_impl()
129 const std::tuple<Ts...>& rhs, Binary&& bin, in axes_transform_impl()
134 template <class... Ts, class Binary>
[all …]
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dpack.hpp.txt26 /// template<class... Ts>
27 /// constexpr auto pack(Ts&&... xs);
30 /// template<class... Ts>
31 /// constexpr auto pack_forward(Ts&&... xs);
34 /// template<class... Ts>
35 /// constexpr auto pack_basic(Ts&&... xs);
38 /// template<class... Ts>
39 /// constexpr auto pack_join(Ts&&... xs);
98 template<class Seq, class... Ts>
118 template<class T, class Tag, class X, class... Ts, typename std::enable_if<
[all …]
Dapply_eval.hpp.txt24 /// template<class F, class... Ts>
25 /// constexpr auto apply_eval(F&& f, Ts&&... xs);
39 /// Ts must be:
86 template<class R, class F, class Pack, class T, class... Ts>
87 constexpr R eval_ordered(const F& f, Pack&& p, T&& x, Ts&&... xs)
89 …OF_FORWARD(Pack)(p), boost::hof::pack_forward(boost::hof::eval(x))), BOOST_HOF_FORWARD(Ts)(xs)...);
97 template<class F, class... Ts>
98 …constexpr eval_helper(const F& f, Ts&&... xs) : result(boost::hof::apply(f, BOOST_HOF_FORWARD(Ts)(…
106 template<class F, class... Ts>
107 …constexpr eval_helper(const F& f, Ts&&... xs) : x((boost::hof::apply(f, BOOST_HOF_FORWARD(Ts)(xs).…
[all …]
/third_party/boost/boost/poly_collection/
Dalgorithm.hpp56 typename... Ts,typename Iterator,typename Predicate, in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
61 auto alg=restitute_range<Ts...>(std_all_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
69 typename... Ts,typename Iterator,typename Predicate, in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
74 auto alg=restitute_range<Ts...>(std_any_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
82 typename... Ts,typename Iterator,typename Predicate, in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
87 auto alg=restitute_range<Ts...>(std_none_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET()
103 typename... Ts,typename Iterator,typename Function,
108 for_each_segment(first,last,restitute_range<Ts...>(for_each_alg{},f)); in for_each()
126 typename... Ts,typename Iterator,typename Size,typename Function,
136 auto alg=restitute_iterator<Ts...>( in for_each_n()
[all …]
/third_party/skia/src/core/
DSkZip.h23 template<typename... Ts>
25 using ReturnTuple = std::tuple<Ts&...>;
54 constexpr SkZip() : fPointers{nullify<Ts>...}, fSize{0} {} in SkZip()
56 constexpr SkZip(size_t size, Ts*... ts) in SkZip()
69 typename = std::enable_if<skstd::conjunction<CanConvertToConst<Us, Ts>...>::value>>
84 constexpr std::tuple<Ts*...> data() const { return fPointers; } in data()
103 constexpr SkZip(size_t n, const std::tuple<Ts*...>& pointers) in SkZip()
110 return indexDetail(i, std::make_index_sequence<sizeof...(Ts)>{}); in index()
118 std::tuple<Ts*...> pointersAt(size_t i) const { in pointersAt()
121 return pointersAtDetail(i, std::make_index_sequence<sizeof...(Ts)>{}); in pointersAt()
[all …]
/third_party/boost/boost/poly_collection/detail/
Dtype_restitution.hpp37 template<typename F,typename... Ts>
40 template<typename F,typename T,typename... Ts>
41 struct restitute_range_class<F,T,Ts...>:
42 restitute_range_class<F,Ts...>
44 using super=restitute_range_class<F,Ts...>;
77 template<typename... Ts,typename F,typename... Args>
81 Ts... in restitute_range()
91 template<typename F,typename... Ts>
94 template<typename F,typename T,typename... Ts>
95 struct restitute_iterator_class<F,T,Ts...>:
[all …]

12345678910>>...19