Home
last modified time | relevance | path

Searched refs:decay_t (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/boost/boost/outcome/
Dsuccess_failure.hpp56 BOOST_OUTCOME_TREQUIRES(BOOST_OUTCOME_TPRED(!std::is_same<success_type, std::decay_t<U>>::value))
81 template <class T> inline constexpr success_type<std::decay_t<T>> success(T &&v) in success()
83 return success_type<std::decay_t<T>>{static_cast<T &&>(v)}; in success()
165 BOOST_OUTCOME_TREQUIRES(BOOST_OUTCOME_TPRED(!std::is_same<failure_type, std::decay_t<U>>::value))
192 BOOST_OUTCOME_TREQUIRES(BOOST_OUTCOME_TPRED(!std::is_same<failure_type, std::decay_t<V>>::value))
206 template <class EC> inline constexpr failure_type<std::decay_t<EC>> failure(EC &&v) in failure()
208 return failure_type<std::decay_t<EC>>{static_cast<EC &&>(v)}; in failure()
213 template <class EC, class E> inline constexpr failure_type<std::decay_t<EC>, std::decay_t<E>> failu… in failure()
215 …return failure_type<std::decay_t<EC>, std::decay_t<E>>{static_cast<EC &&>(v), static_cast<E &&>(w)… in failure()
241 template <class T> static constexpr bool is_success_type = detail::is_success_type<std::decay_t<T>>…
[all …]
Dtrait.hpp46 && !BOOST_OUTCOME_V2_NAMESPACE::detail::is_in_place_type_t<std::decay_t<R>>::value //
115 static constexpr bool value = detail::_is_error_code_available<std::decay_t<T>>::value;
116 using type = typename detail::_is_error_code_available<std::decay_t<T>>::type;
118 …onstexpr bool is_error_code_available_v = detail::_is_error_code_available<std::decay_t<T>>::value;
125 static constexpr bool value = detail::_is_exception_ptr_available<std::decay_t<T>>::value;
126 using type = typename detail::_is_exception_ptr_available<std::decay_t<T>>::type;
128 …pr bool is_exception_ptr_available_v = detail::_is_exception_ptr_available<std::decay_t<T>>::value;
Dbasic_result.hpp58 !(trait::is_error_type<std::decay_t<value_type>>::value &&
59 …trait::is_error_type<std::decay_t<error_type>>::value) // both value and error types are not whit…
62 …|| (trait::is_error_type<std::decay_t<error_type>>::value // if error type is a whiteli…
70 …&& !is_in_place_type_t<std::decay_t<T>>::value …
71 …&& !trait::is_error_type_enum<error_type, std::decay_t<T>>::value …
73 …|| (std::is_same<value_type, std::decay_t<T>>::value …
81 …&& !is_in_place_type_t<std::decay_t<T>>::value …
82 …&& !trait::is_error_type_enum<error_type, std::decay_t<T>>::value …
84 …|| (std::is_same<error_type, std::decay_t<T>>::value …
90 …!is_in_place_type_t<std::decay_t<ErrorCondEnum>>::value // not in place cons…
[all …]
/third_party/boost/libs/hana/example/
Dmonadic_fold_left.cpp18 std::decay_t<decltype(true ? hana::traits::declval(t) : hana::traits::declval(u))>
26 : std::conditional_t<std::is_same<std::decay_t<T>, T>{} &&
27 std::is_same<std::decay_t<U>, U>{},
29 common_type<std::decay_t<T>, std::decay_t<U>>
37 hana::type_c<std::decay_t<T1>>,
/third_party/boost/libs/numeric/ublas/test/tensor/
Dtest_expression.cpp107 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(uexpr_e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
111 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(uexpr_uexpr_e_e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
139 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(uexpr1.e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
140 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(uexpr2.e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
150 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_uexpr.el.e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
151 BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_uexpr.er.e) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
159 …BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_bexpr_uexpr.el.el.e) >, tensor_type > … in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
160 …BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_bexpr_uexpr.el.er.e) >, tensor_type > … in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
161 …BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_bexpr_uexpr.er) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
162 …BOOST_CHECK( ( std::is_same_v< std::decay_t< decltype(bexpr_bexpr_uexpr.er) >, tensor_type > ) ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Ddistributions.h126 using gen_t = absl::decay_t<URBG>; in Uniform()
145 using gen_t = absl::decay_t<URBG>; in Uniform()
169 using gen_t = absl::decay_t<URBG>; in Uniform()
192 using gen_t = absl::decay_t<URBG>; in Uniform()
213 using gen_t = absl::decay_t<URBG>; in Uniform()
243 using gen_t = absl::decay_t<URBG>; in Bernoulli()
275 using gen_t = absl::decay_t<URBG>; in Beta()
307 using gen_t = absl::decay_t<URBG>;
338 using gen_t = absl::decay_t<URBG>;
380 using gen_t = absl::decay_t<URBG>;
[all …]
/third_party/abseil-cpp/absl/random/
Ddistributions.h126 using gen_t = absl::decay_t<URBG>; in Uniform()
145 using gen_t = absl::decay_t<URBG>; in Uniform()
169 using gen_t = absl::decay_t<URBG>; in Uniform()
192 using gen_t = absl::decay_t<URBG>; in Uniform()
213 using gen_t = absl::decay_t<URBG>; in Uniform()
243 using gen_t = absl::decay_t<URBG>; in Bernoulli()
275 using gen_t = absl::decay_t<URBG>; in Beta()
307 using gen_t = absl::decay_t<URBG>;
338 using gen_t = absl::decay_t<URBG>;
380 using gen_t = absl::decay_t<URBG>;
[all …]
/third_party/boost/boost/histogram/detail/
Ddetect.hpp164 template <class T, class = std::enable_if_t<is_storage<std::decay_t<T>>::value>>
167 template <class T, class _ = std::decay_t<T>,
171 template <class T, class = std::enable_if_t<is_iterator<std::decay_t<T>>::value>>
178 template <class T, class = std::enable_if_t<is_axis<std::decay_t<T>>::value>>
181 template <class T, class = std::enable_if_t<is_any_axis<std::decay_t<T>>::value>>
184 template <class T, class = std::enable_if_t<is_sequence_of_axis<std::decay_t<T>>::value>>
188 class = std::enable_if_t<is_sequence_of_axis_variant<std::decay_t<T>>::value>>
192 class = std::enable_if_t<is_sequence_of_any_axis<std::decay_t<T>>::value>>
196 class = std::enable_if_t<is_any_axis<mp11::mp_first<std::decay_t<T>>>::value>>
200 class = std::enable_if_t<is_transform<std::decay_t<T>, U>::value>>
/third_party/boost/boost/numeric/ublas/tensor/
Dmulti_index_utility.hpp69 …static constexpr bool value = detail::has_index_impl<std::decay_t<index_type>,std::decay_t<tuple_t…
125 static constexpr bool value = detail::valid_multi_index_impl<std::decay_t<tupe_type>>::value;
182 detail::number_equal_indexes_impl< std::decay_t<tuple_left>, std::decay_t<tuple_right>>::value;
202 …static constexpr auto is_same = std::is_same< std::decay_t<itype>, std::decay_t<std::tuple_element…
235 …x_position_impl<0ul,std::tuple_size<tuple_type>::value,std::decay_t<index_type>,std::decay_t<tuple…
/third_party/cef/include/base/
Dcef_bind.h100 static_assert(!internal::IsOnceCallback<std::decay_t<Functor>>() || in BindOnce()
107 internal::AssertBindArgIsNotBasePassed<std::decay_t<Args>>...>::value, in BindOnce()
119 !internal::IsOnceCallback<std::decay_t<Functor>>(), in BindRepeating()
253 internal::OwnedRefWrapper<std::decay_t<T>> OwnedRef(T&& t) { in OwnedRef()
254 return internal::OwnedRefWrapper<std::decay_t<T>>(std::forward<T>(t)); in OwnedRef()
Dcef_tuple.h94 constexpr size_t size = std::tuple_size<std::decay_t<Tuple>>::value; in DispatchToMethod()
110 constexpr size_t size = std::tuple_size<std::decay_t<Tuple>>::value; in DispatchToFunction()
138 constexpr size_t in_size = std::tuple_size<std::decay_t<InTuple>>::value; in DispatchToMethod()
Dcef_scoped_refptr.h82 return !std::is_same<std::decay_t<decltype(T::kRefCountPreference)>, in IsRefCountPreferenceOverridden()
83 std::decay_t<decltype(U::kRefCountPreference)>>::value; in IsRefCountPreferenceOverridden()
90 return !std::is_same<std::decay_t<decltype(T::kRefCountPreference)>, in IsRefCountPreferenceOverridden()
91 std::decay_t<decltype(U::kRefCountPreference)>>::value; in IsRefCountPreferenceOverridden()
105 using Tag = std::decay_t<decltype(T::kRefCountPreference)>; in AdoptRef()
/third_party/boost/boost/histogram/
Dmake_histogram.hpp38 using U = std::decay_t<Storage>; in make_histogram_with()
74 using U = std::decay_t<Storage>; in make_histogram_with()
76 using It = std::decay_t<Iterable>; in make_histogram_with()
111 using T = std::decay_t<decltype(*begin)>; in make_histogram_with()
/third_party/abseil-cpp/absl/strings/internal/
Dstl_type_traits.h51 using IsSpecialization = IsSpecializationImpl<absl::decay_t<C>, T>;
58 using IsArray = IsArrayImpl<absl::decay_t<C>>;
65 using IsBitset = IsBitsetImpl<absl::decay_t<C>>;
126 using IsBaseOfSpecialization = IsBaseOfSpecializationImpl<absl::decay_t<C>, T>;
134 using IsBaseOfArray = IsBaseOfArrayImpl<absl::decay_t<C>>;
141 using IsBaseOfBitset = IsBaseOfBitsetImpl<absl::decay_t<C>>;
204 IsConvertibleToSpecializationImpl<absl::decay_t<C>, T>;
212 using IsConvertibleToArray = IsConvertibleToArrayImpl<absl::decay_t<C>>;
220 using IsConvertibleToBitset = IsConvertibleToBitsetImpl<absl::decay_t<C>>;
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dstl_type_traits.h51 using IsSpecialization = IsSpecializationImpl<absl::decay_t<C>, T>;
58 using IsArray = IsArrayImpl<absl::decay_t<C>>;
65 using IsBitset = IsBitsetImpl<absl::decay_t<C>>;
126 using IsBaseOfSpecialization = IsBaseOfSpecializationImpl<absl::decay_t<C>, T>;
134 using IsBaseOfArray = IsBaseOfArrayImpl<absl::decay_t<C>>;
141 using IsBaseOfBitset = IsBaseOfBitsetImpl<absl::decay_t<C>>;
204 IsConvertibleToSpecializationImpl<absl::decay_t<C>, T>;
212 using IsConvertibleToArray = IsConvertibleToArrayImpl<absl::decay_t<C>>;
220 using IsConvertibleToBitset = IsConvertibleToBitsetImpl<absl::decay_t<C>>;
/third_party/cef/include/base/internal/
Dcef_bind_internal.h199 using Unwrapper = BindUnwrapTraits<std::decay_t<T>>;
655 using MakeFunctorTraits = FunctorTraits<std::decay_t<Functor>>;
741 using DecayedArgsTuple = std::decay_t<BoundArgsTuple>;
829 std::is_pointer<std::decay_t<Receiver>>::value &&
830 IsRefCountedType<std::remove_pointer_t<std::decay_t<Receiver>>>::value)>
840 std::is_pointer<std::decay_t<Receiver>>::value &&
841 IsRefCountedType<std::remove_pointer_t<std::decay_t<Receiver>>>::value>
956 static_assert(!HasRefCountedTypeAsRawPtr<std::decay_t<BoundArgs>...>::value,
958 using Type = BindState<std::decay_t<Functor>, std::decay_t<BoundArgs>...>;
963 using Type = BindState<std::decay_t<Functor>>;
[all …]
/third_party/boost/libs/outcome/doc/src/content/reference/functions/
Dfailure.md8 …turning `failure_type<std::decay_t<T>>`, the other taking two parameters returning `failure_type<s…
/third_party/boost/libs/hana/test/tuple/
Dcnstr.nested.cpp14 constexpr hana::tuple<std::decay_t<Xs>...> f(Xs&& ...xs) in f()
15 { return hana::tuple<std::decay_t<Xs>...>{static_cast<Xs&&>(xs)...}; } in f()
/third_party/boost/libs/fiber/doc/
Dfuture.qbk375 std::decay_t< Function >( std::decay_t< Args > ... )
383 std::decay_t< Function >( std::decay_t< Args > ... )
391 std::decay_t< Function >( std::decay_t< Args > ... )
400 std::decay_t< Function >( std::decay_t< Args > ... )
413 std::decay_t< Function >( std::decay_t< Args > ... )
/third_party/boost/libs/hof/doc/src/
Dconcepts.md223 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x, xs...)` is equi…
224 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
229 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x)` is equivalent …
230 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
263 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x, xs...)` is equi…
264 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
269 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x)` is equivalent …
270 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
/third_party/boost/libs/hof/doc/html/_sources/doc/src/
Dconcepts.md.txt223 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x, xs...)` is equi…
224 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
229 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x)` is equivalent …
230 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
263 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x, xs...)` is equi…
264 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
269 …- If `std::is_base_of<U, std::decay_t<decltype(x)>>()` is true, then `INVOKE(f, x)` is equivalent …
270 …- otherwise, if `std::decay_t<decltype(x)>` is a specialization of `std::reference_wrapper`, then …
/third_party/gn/src/base/memory/
Dscoped_refptr.h39 return !std::is_same<std::decay_t<decltype(T::kRefCountPreference)>, in IsRefCountPreferenceOverridden()
40 std::decay_t<decltype(U::kRefCountPreference)>>::value; in IsRefCountPreferenceOverridden()
47 return !std::is_same<std::decay_t<decltype(T::kRefCountPreference)>, in IsRefCountPreferenceOverridden()
48 std::decay_t<decltype(U::kRefCountPreference)>>::value; in IsRefCountPreferenceOverridden()
62 using Tag = std::decay_t<decltype(T::kRefCountPreference)>; in AdoptRef()
/third_party/boost/boost/histogram/axis/
Dvariant.hpp36 using is_bounded_type = mp11::mp_contains<variant, std::decay_t<T>>;
70 using U = std::decay_t<decltype(u)>; in operator =()
281 return reinterpret_cast<T*>(std::is_same<T, std::decay_t<U>>::value ? u : nullptr); in get_if()
287 return reinterpret_cast<const T*>(std::is_same<T, std::decay_t<U>>::value ? u in get_if()
313 using U = std::decay_t<decltype(t)>; in operator ==()
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatusor.h348 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
349 absl::negation<std::is_same<absl::decay_t<U>, T>>,
350 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,
362 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
363 absl::negation<std::is_same<absl::decay_t<U>, T>>,
364 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,
376 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
377 absl::negation<std::is_same<absl::decay_t<U>, T>>,
378 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,
/third_party/abseil-cpp/absl/status/
Dstatusor.h338 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
339 absl::negation<std::is_same<absl::decay_t<U>, T>>,
340 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,
352 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
353 absl::negation<std::is_same<absl::decay_t<U>, T>>,
354 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,
366 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>,
367 absl::negation<std::is_same<absl::decay_t<U>, T>>,
368 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>,

12345