This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] : Adding move symantics to vector
chris jefferson wrote:
>4 would be my prefered option as well. However it's my belief (modulo a
>couple of small problems like this one) that the current library
>implementation is enough to figure out how to correctly add move
>semantics to the library and containers, which is a fairly small job
>that fits nicely into my spare time, while hopefully in parallel someone
>else with either more compiler knowledge or more spare time than me to
>add rvalue references to the compiler. Once true rvalue references are
>added a quick search-and-replace will make use of them.
>
Yes, in my opinion this is an extremely nice feature of our (Chris',
actually) approach. Indeed, as soon as we'll start adding "ad-hoc"
solutions which will not have any meaningful counterpart in the real
move semantics, we will stop and just wait for the standardization to
finish and the compiler people to implement it.
Paolo.