niter_base simplification

Jonathan Wakely jwakely@redhat.com
Thu Apr 30 11:18:00 GMT 2015


On 30/04/15 10:40 +0200, François Dumont wrote:
>On 27/04/2015 13:55, Jonathan Wakely wrote:
>>(Alternatively, could the same simplification be made for
>>__miter_base? Do we need _Miter_base<> or just two overloads of
>>__miter_base()?)
>
>Definitely, I already have a patch for that.

Great :-)

>>It might be simpler to just add __make_reverse_iterator for >= 201103L
>>and then always use std::__make_reverse_iterator instead of a macro.
>>
>>That's similar to what we do for std:__addressof and std:addressof.
>>
>Ok, attached is the patch I have plan to commit then that I am testing 
>at the moment.

Looks good, OK for trunk assuming the tests pass.

Thanks!



More information about the Libstdc++ mailing list