Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/include/__concepts/
H A Dconstructible.h27 concept constructible_from = variable
36 concept default_initializable = constructible_from<_Tp> &&
42 constructible_from<_Tp, _Tp> && convertible_to<_Tp, _Tp>;
48 constructible_from<_Tp, _Tp&> && convertible_to<_Tp&, _Tp> &&
49 constructible_from<_Tp, const _Tp&> && convertible_to<const _Tp&, _Tp> &&
50 constructible_from<_Tp, const _Tp> && convertible_to<const _Tp, _Tp>;
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.default.init/
H A Ddefault_initializable.verify.cpp32 static_assert(std::constructible_from<S0>); in test()
40 static_assert(std::constructible_from<S1>); in test()
48 static_assert(std::constructible_from<const int>); in test()
55 static_assert(std::constructible_from<const int[1]>); in test()
63 static_assert(!std::constructible_from<const int[]>); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/
H A Dctor.other.pass.cpp49 static_assert(!std::constructible_from<iterator, const_iterator>); in test()
61 static_assert(!std::constructible_from<const_iterator, iterator>); in test()
62 static_assert(!std::constructible_from<iterator, const_iterator>); in test()
74 static_assert(!std::constructible_from<const_iterator, iterator>); in test()
75 static_assert(!std::constructible_from<iterator, const_iterator>); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.req/range.refinements/
H A Dviewable_range.compile.pass.cpp47 static_assert(std::constructible_from<T2, T2>);
62 static_assert(std::constructible_from<T3, T3>);
79 static_assert(!std::constructible_from<std::remove_cvref_t<T4 const&>, T4 const&>);
90 static_assert( std::constructible_from<T5, T5>);
104 static_assert( std::constructible_from<std::initializer_list<int>, std::initializer_list<int>>);
118 static_assert( std::constructible_from<T6, T6>);
134 static_assert(!std::constructible_from<std::remove_cvref_t<T7&>, T7&>);
149 static_assert(!std::constructible_from<T8, T8>);
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dranges_uninitialized_algorithms.h141 requires constructible_from<iter_value_t<_ForwardIterator>, const _Tp&>
148 requires constructible_from<range_value_t<_ForwardRange>, const _Tp&>
166 requires constructible_from<iter_value_t<_ForwardIterator>, const _Tp&>
193 requires constructible_from<iter_value_t<_OutputIterator>, iter_reference_t<_InputIterator>>
204 requires constructible_from<range_value_t<_OutputRange>, range_reference_t<_InputRange>>
229 requires constructible_from<iter_value_t<_OutputIterator>, iter_reference_t<_InputIterator>>
258 requires constructible_from<iter_value_t<_OutputIterator>, iter_reference_t<_InputIterator>>
269 requires constructible_from<range_value_t<_OutputRange>, range_reference_t<_InputRange>>
294 requires constructible_from<iter_value_t<_OutputIterator>, iter_reference_t<_InputIterator>>
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/
H A Dctor.other.pass.cpp40 static_assert(!std::constructible_from<decltype(iter1), decltype(iter2)>); in test()
51 static_assert(!std::constructible_from<decltype(iter1), decltype(iter2)>); in test()
52 static_assert(!std::constructible_from<decltype(iter2), decltype(iter1)>); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/sentinel/
H A Dctor.other.pass.cpp63 static_assert(!std::constructible_from<decltype(sent1), decltype(sent2)>); in test()
76 static_assert(!std::constructible_from<sentinel, const_sentinel>); in test()
77 static_assert(!std::constructible_from<const_sentinel, sentinel>); in test()
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Drange_adaptor.h60 constructible_from<decay_t<_Closure>, _Closure> &&
61 constructible_from<decay_t<_OtherClosure>, _OtherClosure>
H A Dlazy_split_view.h85 requires constructible_from<_View, views::all_t<_Range>> &&
86 constructible_from<_Pattern, single_view<range_value_t<_Range>>>
445 requires constructible_from<decay_t<_Pattern>, _Pattern>
H A Dsingle_view.h47 requires constructible_from<_Tp, _Args...>
H A Dconcepts.h131 ((view<remove_cvref_t<_Tp>> && constructible_from<remove_cvref_t<_Tp>, _Tp>) ||
H A Dfilter_view.h240 requires constructible_from<decay_t<_Pred>, _Pred>
H A Dsubrange.h66 constructible_from<_Pair, _Iter, _Sent> &&
H A Ddrop_view.h284 requires constructible_from<decay_t<_Np>, _Np>
H A Dtake_view.h315 requires constructible_from<decay_t<_Np>, _Np>
H A Dtransform_view.h421 requires constructible_from<decay_t<_Fn>, _Fn>
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/
H A Dctor.views.pass.cpp26 static_assert(std::constructible_from<std::ranges::zip_view<SimpleCommon>, SimpleCommon>);
29 static_assert(std::constructible_from<std::ranges::zip_view<SimpleCommon, SimpleCommon>, SimpleComm…
/llvm-project-15.0.7/libcxx/include/
H A Dconcepts66 // [concept.constructible], concept constructible_from
68 concept constructible_from = see below;
H A Dmemory200 requires constructible_from<iter_value_t<OutputIterator>, iter_reference_t<InputIterator>>
205 requires constructible_from<range_value_t<OutputRange>, range_reference_t<InputRange>>
221 requires constructible_from<iter_value_t<OutputIterator>, iter_reference_t<InputIterator>>
233 requires constructible_from<iter_value_t<ForwardIterator>, const T&>
237 requires constructible_from<range_value_t<ForwardRange>, const T&>
249 requires constructible_from<iter_value_t<ForwardIterator>, const T&>
300 requires constructible_from<iter_value_t<OutputIterator>, iter_rvalue_reference_t<InputIterator>>
305 requires constructible_from<range_value_t<OutputRange>, range_rvalue_reference_t<InputRange>>
320 requires constructible_from<iter_value_t<OutputIterator>, iter_rvalue_reference_t<InputIterator>>
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/
H A Dctor.other.pass.cpp67 static_assert(!std::constructible_from<decltype(sent1), decltype(sent2)>); in test()
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.constructible/
H A Dconstructible_from.compile.pass.cpp56 static_assert(std::constructible_from<T, Args...> == in test()
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dcommon_iterator.h34 constructible_from<iter_value_t<_Iter>, iter_reference_t<_Iter>> &&
114 constructible_from<iter_value_t<_I2>, iter_reference_t<_I2>>)
H A Dconcepts.h254 constructible_from<iter_value_t<_In>, iter_rvalue_reference_t<_In>> &&
270 constructible_from<iter_value_t<_In>, iter_reference_t<_In>> &&
H A Diterator_traits.h172 constructible_from<_Ip> &&
/llvm-project-15.0.7/libcxx/test/support/
H A Dtest_iterators.h973 requires std::constructible_from<T, U&&>
978 …requires(IsProxy<std::decay_t<Other>> && std::constructible_from<T, decltype(std::declval<Other>()…
1094 requires std::constructible_from<Base, T&&>