miter_base simplification
Jonathan Wakely
jwakely@redhat.com
Wed May 20 10:04:00 GMT 2015
On 03/05/15 22:19 +0200, François Dumont wrote:
>On 30/04/2015 13:18, Jonathan Wakely wrote:
>>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 :-)
>
>And here is the patch for this part.
>
>I have implemented it in such a way that it will also remove several
>layers of move_iterator.
>
>2015-05-04 François Dumont <fdumont@gcc.gnu.org>
>
> * include/bits/cpp_type_traits.h
> (std::move_iterator): Delete declaration.
> (std::__is_move_iterator<move_iterator>): Move partial
>specialization...
> * include/bits/stl_iterator.h: ... here.
> (std::__miter_base): Overloads for std::reverse_iterator and
> std::move_iterator.
> * include/bits/stl_algobase.h (std::__miter_base): Provide default
> implementation.
>
>Tested under Linux x86_64.
>
>Ok to commit ?
Yes OK, thanks (sorry for forgetting about this patch).
More information about the Libstdc++
mailing list