Home
last modified time | relevance | path

Searched refs:_Ref (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h55 template <class _Container, class _Ref>
56 constexpr bool __container_appendable = requires(_Container& __c, _Ref&& __ref) { in requires()
58 requires { __c.emplace_back(std::forward<_Ref>(__ref)); } || in requires()
59 requires { __c.push_back(std::forward<_Ref>(__ref)); } || in requires()
60 requires { __c.emplace(__c.end(), std::forward<_Ref>(__ref)); } || in requires()
61 requires { __c.insert(__c.end(), std::forward<_Ref>(__ref)); }); in requires()
115 using _Ref = decltype(__ref); in to() local
116 if constexpr (requires { __result.emplace_back(std::declval<_Ref>()); }) { in to()
117 __result.emplace_back(std::forward<_Ref>(__ref)); in to()
118 } else if constexpr (requires { __result.push_back(std::declval<_Ref>()); }) { in to()
[all …]
H A Dconcepts.h151 template <class _Ref, class _RRef, class _It>
153 { *__it } -> convertible_to<_Ref>; in requires()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/backends/
H A Ddefault.h207 using _Ref = __iter_reference<_ForwardIterator>;
208 …return _ForEach()(__policy, std::move(__first), std::move(__last), [&](_Ref __element) { __element…
236 using _Ref = __iter_reference<_ForwardIterator>;
238 …__policy, std::move(__first), std::move(__last), [&](_Ref __element) { return __element == __old; …
249 using _Ref = __iter_reference<_ForwardIterator>;
250 return _ForEach()(__policy, std::move(__first), std::move(__last), [&](_Ref __element) {
263 using _Ref = __iter_reference<_ForwardIterator>;
264 …return _ForEach()(__policy, std::move(__first), std::move(__last), [&](_Ref __element) { __element…
274 using _Ref = __iter_reference<_ForwardIterator>;
275 …return _ForEachN()(__policy, std::move(__first), __n, [&](_Ref __element) { __element = __gen(); }…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__flat_map/
H A Dflat_multimap.h990 …using _Ref = typename flat_multimap<_Key, _Tp, _Compare, _KeyContainer, _MappedContainer>::const_r…
991 return __pred(_Ref(std::get<0>(__zipped), std::get<1>(__zipped)));
H A Dflat_map.h1251 …using _Ref = typename flat_map<_Key, _Tp, _Compare, _KeyContainer, _MappedContainer>::const_refere…
1252 return __pred(_Ref(std::get<0>(__zipped), std::get<1>(__zipped)));