Searched refs:Uncopyable (Results 1 – 5 of 5) sorted by relevance
27 struct Uncopyable {28 Uncopyable();30 Uncopyable(const Uncopyable &); // expected-note {{declared private here}}34 Uncopyable v;39 Uncopyable v;40 [obj test_c: (const Uncopyable&) v];
77 constexpr struct Uncopyable { struct78 constexpr explicit Uncopyable(int) {} in Uncopyable() function79 constexpr Uncopyable(Uncopyable &&) = delete;80 } u = auto(Uncopyable(auto(Uncopyable(42))));
119 struct Uncopyable { struct120 Uncopyable() {} in Uncopyable() function122 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}125 void f(const Uncopyable&) {} in f() argument127 f(Uncopyable()); in test()
171 struct Uncopyable { in TEST() struct172 Uncopyable() = default; in TEST()173 Uncopyable(const Uncopyable &) = delete; in TEST()175 unique_function<void(const Uncopyable &)> UncopyableF = in TEST()176 [](const Uncopyable &) {}; in TEST() argument177 UncopyableF(Uncopyable()); in TEST()178 Uncopyable X; in TEST()
75 struct Uncopyable { struct76 Uncopyable(int&&);77 Uncopyable(const int&) = delete;80 static_assert(!HasPartitionCopyIter<int*, int*, Uncopyable*>);82 static_assert(!HasPartitionCopyIter<int*, int*, int*, Uncopyable*>);115 static_assert(!HasPartitionCopyRange<R<int*>, Uncopyable*>);117 static_assert(!HasPartitionCopyRange<R<int*>, int*, Uncopyable*>);