Home
last modified time | relevance | path

Searched refs:copy_constructible (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.copyconstructible/
H A Dcopy_constructible.compile.pass.cpp23 static_assert(std::copy_constructible<int>);
24 static_assert(std::copy_constructible<int*>);
25 static_assert(std::copy_constructible<int&>);
26 static_assert(std::copy_constructible<const int>);
27 static_assert(std::copy_constructible<const int&>);
28 static_assert(std::copy_constructible<volatile int>);
30 static_assert(std::copy_constructible<int (*)()>);
31 static_assert(std::copy_constructible<int (&)()>);
41 static_assert(!std::copy_constructible<void>);
47 static_assert(!std::copy_constructible<int[10]>);
[all …]
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dranges_transform.h87 copy_constructible _Func,
100 copy_constructible _Func,
114 copy_constructible _Func,
137 copy_constructible _Func,
H A Dranges_generate.h46 …template <input_or_output_iterator _OutIter, sentinel_for<_OutIter> _Sent, copy_constructible _Fun…
53 template <class _Range, copy_constructible _Func>
H A Dranges_generate_n.h37 template <input_or_output_iterator _OutIter, copy_constructible _Func>
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dconcepts.h183 copy_constructible<_Fp> &&
194 copy_constructible<_Fp> &&
205 copy_constructible<_Fp> &&
213 copy_constructible<_Fp> &&
223 copy_constructible<_Fp> &&
233 copy_constructible<_Fp> &&
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/
H A Dranges_generate_n.pass.cpp35 static_assert(!std::copy_constructible<UncopyableGen>);
40 static_assert(std::copy_constructible<UninvocableGen>);
H A Dranges_generate.pass.cpp40 static_assert(!std::copy_constructible<UncopyableGen>);
45 static_assert(std::copy_constructible<UninvocableGen>);
/llvm-project-15.0.7/libcxx/include/__concepts/
H A Dcopyable.h29 copy_constructible<_Tp> &&
H A Dconstructible.h46 concept copy_constructible = variable
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dtransform_view.h58 template<input_range _View, copy_constructible _Fn>
77 constexpr _View base() const& requires copy_constructible<_View> { return __base_; } in base()
157 template<input_range _View, copy_constructible _Fn>
353 template<input_range _View, copy_constructible _Fn>
H A Dsingle_view.h31 template<copy_constructible _Tp>
H A Dcommon_view.h50 constexpr _View base() const& requires copy_constructible<_View> { return __base_; } in base()
H A Dcopyable_box.h38 concept __copy_constructible_object = copy_constructible<_Tp> && is_object_v<_Tp>;
H A Dreverse_view.h57 constexpr _View base() const& requires copy_constructible<_View> { return __base_; } in base()
H A Dfilter_view.h71 constexpr _View base() const& requires copy_constructible<_Vp> { return __base_; } in base()
H A Djoin_view.h88 constexpr _View base() const& requires copy_constructible<_View> { return __base_; }
H A Ddrop_view.h77 …_LIBCPP_HIDE_FROM_ABI constexpr _View base() const& requires copy_constructible<_View> { return __… in base()
H A Dtake_view.h68 constexpr _View base() const& requires copy_constructible<_View> { return __base_; } in base()
H A Dlazy_split_view.h93 constexpr _View base() const& requires copy_constructible<_View> { return __base_; } in base()
/llvm-project-15.0.7/libcxx/include/
H A Dconcepts78 // [concept.copyconstructible], concept copy_constructible
80 concept copy_constructible = see below;
H A Dranges170 template<input_range V, copy_constructible F>
201 template<copy_constructible T>
H A Dalgorithm137 copy_constructible F, class Proj = identity>
142 template<input_range R, weakly_incrementable O, copy_constructible F,
149 weakly_incrementable O, copy_constructible F, class Proj1 = identity,
158 copy_constructible F, class Proj1 = identity, class Proj2 = identity>
400 template<input_or_output_iterator O, sentinel_for<O> S, copy_constructible F>
404 template<class R, copy_constructible F>
408 template<input_or_output_iterator O, copy_constructible F>
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable.pass.cpp61 requires std::copy_constructible<std::remove_cvref_t<T> >
230 static_assert(std::copy_constructible<swap_type>);