This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] : Adding move symantics to vector
- From: chris jefferson <caj at cs dot york dot ac dot uk>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 08 Sep 2005 23:26:41 +0100
- Subject: Re: [patch] : Adding move symantics to vector
- References: <42FC79AF.90005@cs.york.ac.uk> <43201371.2040600@suse.de> <43208C9D.8090102@suse.de> <4320A325.3090306@suse.de>
Paolo Carlini wrote:
>Paolo Carlini wrote:
>
>
>
>>Chris, I have just noticed that (with or without the last patch) the
>>sort.cc performance testcase doesn't build (see attachment). Can you
>>spot something obviously wrong? Otherwise I'm going to look into the
>>issue...
>>
>>
>>
>>
>Never mind, my fault: I forgot to change the rename the static member of
>__is_moveable<int_wrap> to __value ;)
>
>
>
However, this has thrown up another bug...
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 :)
Notice there is no problem with either vector<bool>s themselves, or
vectors of vector<bool>s.
Chris