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] C++14: N3671 Making non-modifying sequence operations more robust


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.


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