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: [v3] Fix libstdc++/54577


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.


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