Home
last modified time | relevance | path

Searched refs:remove_cvref_t (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dreverse_view.h143 requires __is_reverse_view<remove_cvref_t<_Range>>
151 … class _UnwrappedSubrange = typename __unwrapped_reverse_subrange<remove_cvref_t<_Range>>::type>
152 requires __is_sized_reverse_subrange<remove_cvref_t<_Range>>
160 … class _UnwrappedSubrange = typename __unwrapped_reverse_subrange<remove_cvref_t<_Range>>::type>
161 requires __is_unsized_reverse_subrange<remove_cvref_t<_Range>>
169 requires (!__is_reverse_view<remove_cvref_t<_Range>> &&
170 !__is_sized_reverse_subrange<remove_cvref_t<_Range>> &&
171 !__is_unsized_reverse_subrange<remove_cvref_t<_Range>>)
H A Drange_adaptor.h46 concept _RangeAdaptorClosure = derived_from<remove_cvref_t<_Tp>, __range_adaptor_closure<remove_cvr…
51 requires same_as<_Tp, remove_cvref_t<_Closure>> &&
59 requires same_as<_Tp, remove_cvref_t<_Closure>> &&
H A Dconcepts.h52 (is_lvalue_reference_v<_Range> || enable_borrowed_range<remove_cvref_t<_Range>>);
131 ((view<remove_cvref_t<_Tp>> && constructible_from<remove_cvref_t<_Tp>, _Tp>) ||
132 (!view<remove_cvref_t<_Tp>> &&
134 (movable<remove_reference_t<_Tp>> && !__is_std_initializer_list<remove_cvref_t<_Tp>>))));
H A Dsize.h43 concept __size_enabled = !disable_sized_range<remove_cvref_t<_Tp>>;
57 __class_or_enum<remove_cvref_t<_Tp>> &&
66 __class_or_enum<remove_cvref_t<_Tp>> &&
H A Daccess.h31 is_lvalue_reference_v<_Tp> || enable_borrowed_range<remove_cvref_t<_Tp>>;
53 __class_or_enum<remove_cvref_t<_Tp>> &&
125 __class_or_enum<remove_cvref_t<_Tp>> &&
H A Ddrop_view.h197 requires __is_empty_view<remove_cvref_t<_Range>>
207 class _RawRange = remove_cvref_t<_Range>,
232 class _RawRange = remove_cvref_t<_Range>,
266 class _RawRange = remove_cvref_t<_Range>>
H A Dtake_view.h238 requires __is_empty_view<remove_cvref_t<_Range>>
248 class _RawRange = remove_cvref_t<_Range>,
273 class _RawRange = remove_cvref_t<_Range>,
297 class _RawRange = remove_cvref_t<_Range>>
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dforwarding-reference-overload.cpp168 template <class T> using remove_cvref_t = typename remove_cvref<T>::type; typedef
176 typename std::enable_if_t<std::is_same_v<std::remove_cvref_t<T>, int>, int>::type = 0>
182 !std::is_same_v<std::remove_cvref_t<T>, Test7>
183 && !std::is_same_v<std::remove_cvref_t<T>, bool>, int> = true>
197 !std::is_same_v<std::remove_cvref_t<T>, Test8>
210 std::enable_if_t<std::is_same_v<std::remove_cvref_t<T>, bool>, int>>
218 std::enable_if_t<std::is_same_v<std::remove_cvref_t<T>, long>>*>
/llvm-project-15.0.7/libcxx/include/__format/
H A Dconcepts.h40 concept __formattable = (semiregular<formatter<remove_cvref_t<_Tp>, _CharT>>) &&
41 requires(formatter<remove_cvref_t<_Tp>, _CharT> __f, in requires()
42 formatter<remove_cvref_t<_Tp>, _CharT> __cf, _Tp __t, in requires()
H A Dformat_arg_store.h157 constexpr __arg_t __arg = __determine_arg_t<_Context, remove_cvref_t<_Tp>>(); in __create_format_arg()
177 if constexpr (is_array_v<remove_cvref_t<_Tp>>) in __create_format_arg()
179 …__arg, basic_string_view<typename _Context::char_type>{__value, extent_v<remove_cvref_t<_Tp>> - 1}… in __create_format_arg()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAny.h124 return Value.Storage->id() == &Any::TypeId<remove_cvref_t<T>>::Id; in any_isa()
128 return static_cast<T>(*any_cast<remove_cvref_t<T>>(&Value)); in any_cast()
132 return static_cast<T>(*any_cast<remove_cvref_t<T>>(&Value)); in any_cast()
136 return static_cast<T>(std::move(*any_cast<remove_cvref_t<T>>(&Value))); in any_cast()
140 using U = remove_cvref_t<T>; in any_cast()
H A DSTLFunctionalExtras.h57 std::enable_if_t<!std::is_same<remove_cvref_t<Callable>,
H A DSTLForwardCompat.h78 using remove_cvref_t // NOLINT(readability-identifier-naming)
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dincrementable_traits.h66 …nce_t = typename conditional_t<__is_primary_template<iterator_traits<remove_cvref_t<_Ip> > >::valu…
67 incrementable_traits<remove_cvref_t<_Ip> >,
68 … iterator_traits<remove_cvref_t<_Ip> > >::difference_type;
H A Dreadable_traits.h78 using iter_value_t = typename conditional_t<__is_primary_template<iterator_traits<remove_cvref_t<_I…
79 indirectly_readable_traits<remove_cvref_t<_Ip> >,
80 iterator_traits<remove_cvref_t<_Ip> > >::value_type;
H A Diter_swap.h39 (__class_or_enum<remove_cvref_t<_T1>> || __class_or_enum<remove_cvref_t<_T2>>) &&
H A Dprojected.h27 using value_type = remove_cvref_t<indirect_result_t<_Proj&, _It>>;
/llvm-project-15.0.7/libcxx/include/__concepts/
H A Ddifferent_from.h25 concept __different_from = !same_as<remove_cvref_t<_Tp>, remove_cvref_t<_Up>>;
H A Dswappable.h40 (__class_or_enum<remove_cvref_t<_Tp>> || __class_or_enum<remove_cvref_t<_Up>>) &&
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable.pass.cpp39 requires std::same_as<std::remove_cvref_t<T>, std::remove_cvref_t<U> > &&
40 std::swappable<std::remove_cvref_t<T> >
42 expected<std::remove_cvref_t<T> > const e{y, x}; in check_swap_21()
61 requires std::copy_constructible<std::remove_cvref_t<T> >
63 expected<std::remove_cvref_t<T> > const e{y, x}; in check_swap_23()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.req/range.refinements/
H A Dviewable_range.compile.pass.cpp78 static_assert(std::ranges::view<std::remove_cvref_t<T4 const&>>);
79 static_assert(!std::constructible_from<std::remove_cvref_t<T4 const&>, T4 const&>);
133 static_assert(!std::ranges::view<std::remove_cvref_t<T7&>>);
134 static_assert(!std::constructible_from<std::remove_cvref_t<T7&>, T7&>);
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dremove_cvref.pass.cpp23 ASSERT_SAME_TYPE(U, std::remove_cvref_t<T>); in test_remove_cvref()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dremove_cvref.h36 template <class _Tp> using remove_cvref_t = typename remove_cvref<_Tp>::type; variable
H A Dcommon_reference.h148 remove_cvref_t<_Tp>, remove_cvref_t<_Up>,
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dconcepts.h40 same_as<remove_cvref_t<iter_reference_t<_Ip>>, iter_value_t<_Ip>>;

123