Home
last modified time | relevance | path

Searched refs:NotDefaultConstructible (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/
H A Dconstructor.pass.cpp31 struct NotDefaultConstructible { struct
33 constexpr explicit NotDefaultConstructible(int j) : i(j) {} in NotDefaultConstructible() argument
78 using OwningView = std::ranges::owning_view<NotDefaultConstructible>; in test()
87 static_assert(!std::is_constructible_v<OwningView, NotDefaultConstructible&>); in test()
88 static_assert(std::is_constructible_v<OwningView, NotDefaultConstructible&&>); in test()
90 static_assert(std::is_convertible_v<NotDefaultConstructible&&, OwningView>); in test()
92 OwningView ov = OwningView(NotDefaultConstructible(1)); in test()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Ddefault-expr-arguments.cpp76 struct NotDefaultConstructible { // expected-note 2 {{candidate constructor (the implicit copy cons… struct
80 NotDefaultConstructible(int); // expected-note 2{{candidate}}
83 void test_x0_not_default_constructible(X0<NotDefaultConstructible> xn) { in test_x0_not_default_constructible()
84 xn.f(NotDefaultConstructible(17)); in test_x0_not_default_constructible()
104 void test_x2(X2<int> x2i, X2<NotDefaultConstructible> x2n) { in test_x2()
107 x2n(NotDefaultConstructible(17)); in test_x2()
H A Dexplicit-instantiation.cpp29 struct NotDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constru… struct
30 NotDefaultConstructible(int); // expected-note{{candidate constructor}}
33 template NotDefaultConstructible X0<NotDefaultConstructible>::value; // expected-note{{instantiatio…