Searched refs:NonDefaultConstructible (Results 1 – 9 of 9) sorted by relevance
46 struct NonDefaultConstructible { struct52 NonDefaultConstructible(const NonDefaultConstructible&) { in NonDefaultConstructible() function55 NonDefaultConstructible &operator=(const NonDefaultConstructible&) { in operator =() argument59 ~NonDefaultConstructible() { in ~NonDefaultConstructible() argument84 Optional<NonDefaultConstructible> O(NonDefaultConstructible(3)); in TEST()97 Optional<NonDefaultConstructible>(NonDefaultConstructible(3)); in TEST()106 Optional<NonDefaultConstructible> A(NonDefaultConstructible(3)); in TEST()125 Optional<NonDefaultConstructible> A(NonDefaultConstructible(3)); in TEST()145 Optional<NonDefaultConstructible> A(NonDefaultConstructible(3)); in TEST()146 Optional<NonDefaultConstructible> B(NonDefaultConstructible(4)); in TEST()[all …]
3 struct NonDefaultConstructible { struct4 NonDefaultConstructible(const NonDefaultConstructible&); // expected-note{{candidate constructor}}17 NonDefaultConstructible X<NonDefaultConstructible, long>::member;19 NonDefaultConstructible &test(bool b) { in test()20 return b? X<NonDefaultConstructible, int>::member // expected-note{{instantiation}} in test()21 : X<NonDefaultConstructible, long>::member; in test()
9 struct NonDefaultConstructible { struct10 NonDefaultConstructible(int);22 template<> void f0(NonDefaultConstructible) { } in f0() argument24 void test_f0(NonDefaultConstructible NDC) { in test_f0()67 NonDefaultConstructible X0<NonDefaultConstructible>::member = 17;69 NonDefaultConstructible &get_static_member() { in get_static_member()70 return X0<NonDefaultConstructible>::member; in get_static_member()
12 struct NonDefaultConstructible { struct13 NonDefaultConstructible(int);26 template<> void f0(NonDefaultConstructible) { } in f0() argument28 void test_f0(NonDefaultConstructible NDC) { in test_f0()119 NonDefaultConstructible X0<NonDefaultConstructible>::member;128 NonDefaultConstructible &get_static_member() { in get_static_member()129 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
9 struct NonDefaultConstructible { struct10 NonDefaultConstructible(int);22 template<> void f0(NonDefaultConstructible) { } in f0() argument24 void test_f0(NonDefaultConstructible NDC) { in test_f0()151 NonDefaultConstructible X0<NonDefaultConstructible>::member;160 NonDefaultConstructible &get_static_member() { in get_static_member()161 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
53 struct NonDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constru… struct57 NonDefaultConstructible(int); // expected-note{{candidate constructor}}91 NonDefaultConstructible X2<NonDefaultConstructible, int>::static_member1;94 …NonDefaultConstructible X2<int, NonDefaultConstructible>::static_member2; // expected-note{{instan…
27 struct NonDefaultConstructible { struct28 constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() argument47 using V = std::variant<NonDefaultConstructible, int>; in test_default_ctor_sfinae()95 std::variant<int, NonDefaultConstructible> v; in test_default_ctor_basic()112 using V = std::variant<int, NonDefaultConstructible>; in test_default_ctor_basic()
28 struct NonDefaultConstructible : std::ranges::view_base { struct29 NonDefaultConstructible() = delete;44 … static_assert(!std::is_default_constructible_v<std::ranges::take_view<NonDefaultConstructible>>); in test()
28 struct NonDefaultConstructible { struct29 constexpr NonDefaultConstructible() { in NonDefaultConstructible() function33 explicit constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() function106 using T = NonDefaultConstructible<>; in main()