Closed Quuxplusone closed 1 year ago
Specifically, the assignment s_copy = s; doesn't work, because it's trying to use the assignment operator of a pair where one of the members has reference type. Classes with reference members have their assignment operators defaulted as deleted.
s_copy = s;
Thank you! I amended to guard another instance of this.
Specifically, the assignment
s_copy = s;
doesn't work, because it's trying to use the assignment operator of a pair where one of the members has reference type. Classes with reference members have their assignment operators defaulted as deleted.