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:
>My first thought was "I bet it's that damn vector<bool> again". While it
>isn't, I have discovered that all the "move semanticed" algorithms now
>don't work with vector<bool>s. Of course, as discussed previously they
>don't have to, but also it would be nice if they did. I'll have a ponder :)
>
>
Hum, maybe now I see the real issue, it's the return type of operator*()
for vector<bool>::iterator, right? An I have been wondering for a couple
of days why the __move that you designed takes a & instead of a const &...
Paolo.