[v3] Fix libstdc++/54577

Paolo Carlini paolo.carlini@oracle.com
Tue May 14 12:51:00 GMT 2013


On 05/14/2013 02:40 PM, Paolo Carlini wrote:
> Then I suppose that the correct way to move forward to C++11 the 
> ext/pointer.h stuff would be adding a pointer_traits specialization 
> for those pointer-like types, which would also wrap the cast 
> operations in pointer_to. Then, in __normal_iterator::_M_const_cast 
> use pointer_traits.
... and even more interestingly, looks like Jonathan already did most of 
this, at the end of ext/pointer.h. Oh my ;)

Paolo.



More information about the Libstdc++ mailing list