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]

Re: [patch] : Adding move symantics to vector


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


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