[PATCH] Implement std::pointer_traits::to_address as per P0653R0

Jonathan Wakely jwakely@redhat.com
Tue Jul 18 12:48:00 GMT 2017


On 16/07/17 17:54 -0400, Glen Fernandes wrote:
>Implement pointer_traits::to_address as in P0653r0
>
>        * include/bits/allocated_ptr.h (allocated_ptr): Use
>pointer_traits::to_address.
>        * include/bits/ptr_traits.h (pointer_traits): Implement to_address.
>        * include/ext/pointer.h (pointer_traits): Define to_address in
>pointer_traits specialization.
>        * testsuite/20_util/pointer_traits/requirements/explicit_instantiation.cc:
>Define operator->.
>        * testsuite/20_util/pointer_traits/to_address.cc: New tests.
>
>Tested i686-pc-linux-gnu.
>

Thanks, Glen.

As discussed offlist, Glen is completing a copyright assignment and
we'll deal with this patch shortly.



More information about the Libstdc++ mailing list