Mirror of roytam1's UXP fork just in case Moonchild and Tobin decide to go after him
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
477 B

class Foo {
Foo(Foo&& f);
class Bar {
explicit Bar(Bar&& f); // expected-error {{Move constructors may not be marked explicit}}
class Baz {
template<typename T>
explicit Baz(T&& f) {};
class Quxx {
Quxx(Quxx& q) = delete;
template<typename T>
explicit Quxx(T&& f) {};
void f() {
// Move a quxx into a quxx! (This speciailizes Quxx's constructor to look like
// a move constructor - to make sure it doesn't trigger)