This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] libstdc++/48848


Hi,

tested x86_64-linux, committed to mainline.

As regards the move assignment operator, the only non-trivial bit of the patch, per today's discussion on the reflector, essentially we want to be consistent with the resolution of LWG 675, thus make sure first that the move-assigned-to object releases any owned resources. This implies that at minimum the FDIS should be amended to a linear in size(), instead of constant, complexity (also, the "as-if" verbiage about resize(v.size()) is evidently bogus, likely a pasto from the preceding copy-assignment operator).

Thanks,
Paolo.

////////////////////////////

Attachment: CL_48848
Description: Text document

Attachment: patch_48848
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]