Spotkałem się na internecie z takim przykładem:
class C {
C(const C&) = default; // Copy constructor
C(C&&) = default; // Move constructor
C& operator=(const C&) & = default; // Copy assignment operator
C& operator=(C&&) & = default; // Move assignment operator
virtual ~C() { } // Destructor
};
Zastanawia mnie konkretnie występowanie znaku &
w operator=
. Co to oznacza?