[patch] C++14: N3671 Making non-modifying sequence operations more robust
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Jun 11 09:34:00 GMT 2013
On 11 June 2013 00:09, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 10 June 2013 21:16, François Dumont wrote:
>>
>> But I am not sure it is the intended behavior because I can't see where
>> those equal overloads are used. It looks like __equal2 has been implemented
>> and used instead. Maybe some dead code to clean, no ?
>
> It should be used, I'll check it.
You're right, it's just dead code, I added overloads to __equal, then
added __equal2 instead and forgot to remove those overloads.
__equal2::equal() checks the lengths correctly, so I just need to
clean up the dead code.
More information about the Libstdc++
mailing list