[cfe-dev] Compile errors with MSVC 2005 (SVN revision 53516)

C├ędric Venet cedric.venet at laposte.net
Sat Jul 12 11:17:48 PDT 2008


 
> change:
> 
>    typedef typename super::pointer pointer;
> 
> to:
> 
>    typedef typename bidirectional_iterator<ValueT, ptrdiff_t>::pointer
> pointer
 
This does not work, I tried it first. Even when I modify
bidirectional_iterator by adding a public typedef to
std::iterator<>::pointer directly in the class... 

On the other hand I remember reading that the way the std::allocator is
defined in C++03, you don't have much choice for defining pointer.





More information about the cfe-dev mailing list