Searched refs:NotDefaultConstructible (Results 1 – 3 of 3) sorted by relevance
31 struct NotDefaultConstructible { struct33 constexpr explicit NotDefaultConstructible(int j) : i(j) {} in NotDefaultConstructible() argument78 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()
76 struct NotDefaultConstructible { // expected-note 2 {{candidate constructor (the implicit copy cons… struct80 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()
29 struct NotDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constru… struct30 NotDefaultConstructible(int); // expected-note{{candidate constructor}}33 template NotDefaultConstructible X0<NotDefaultConstructible>::value; // expected-note{{instantiatio…