[v3] libstdc++/48848
Paolo Carlini
paolo.carlini@oracle.com
Tue May 3 22:34:00 GMT 2011
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.
////////////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_48848
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110503/72c641ea/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_48848
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110503/72c641ea/attachment-0001.ksh>
More information about the Libstdc++
mailing list