Open ITHelpself opened 3 years ago
// this
struct S { int x; S& operator=(const S& other) { x = other.x; // return a reference to the object being assigned to return *this; } };
// this