| /llvm-project-15.0.7/libcxx/include/__concepts/ |
| H A D | constructible.h | 27 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 D | default_initializable.verify.cpp | 32 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 D | ctor.other.pass.cpp | 49 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 D | viewable_range.compile.pass.cpp | 47 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 D | ranges_uninitialized_algorithms.h | 141 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 D | ctor.other.pass.cpp | 40 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 D | ctor.other.pass.cpp | 63 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 D | range_adaptor.h | 60 constructible_from<decay_t<_Closure>, _Closure> && 61 constructible_from<decay_t<_OtherClosure>, _OtherClosure>
|
| H A D | lazy_split_view.h | 85 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 D | single_view.h | 47 requires constructible_from<_Tp, _Args...>
|
| H A D | concepts.h | 131 ((view<remove_cvref_t<_Tp>> && constructible_from<remove_cvref_t<_Tp>, _Tp>) ||
|
| H A D | filter_view.h | 240 requires constructible_from<decay_t<_Pred>, _Pred>
|
| H A D | subrange.h | 66 constructible_from<_Pair, _Iter, _Sent> &&
|
| H A D | drop_view.h | 284 requires constructible_from<decay_t<_Np>, _Np>
|
| H A D | take_view.h | 315 requires constructible_from<decay_t<_Np>, _Np>
|
| H A D | transform_view.h | 421 requires constructible_from<decay_t<_Fn>, _Fn>
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/ |
| H A D | ctor.views.pass.cpp | 26 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 D | concepts | 66 // [concept.constructible], concept constructible_from 68 concept constructible_from = see below;
|
| H A D | memory | 200 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 D | ctor.other.pass.cpp | 67 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 D | constructible_from.compile.pass.cpp | 56 static_assert(std::constructible_from<T, Args...> == in test()
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | common_iterator.h | 34 constructible_from<iter_value_t<_Iter>, iter_reference_t<_Iter>> && 114 constructible_from<iter_value_t<_I2>, iter_reference_t<_I2>>)
|
| H A D | concepts.h | 254 constructible_from<iter_value_t<_In>, iter_rvalue_reference_t<_In>> && 270 constructible_from<iter_value_t<_In>, iter_reference_t<_In>> &&
|
| H A D | iterator_traits.h | 172 constructible_from<_Ip> &&
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_iterators.h | 973 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&&>
|