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

Ted Kremenek kremenek at apple.com
Sat Jul 12 11:02:21 PDT 2008


On Jul 12, 2008, at 10:20 AM, Cédric Venet wrote:

> Yes, I just changed
> 	typedef typename super::pointer pointer;
> to
> 	typedef ValueT* pointer;

Incidentally, does the following work:

change:

   typedef typename super::pointer pointer;
   typedef typename super::reference reference;

to:

   typedef typename bidirectional_iterator<ValueT, ptrdiff_t>::pointer  
pointer
   typedef typename bidirectional_iterator<ValueT,  
ptrdiff_t>::reference reference

If that worked, it would obviate the need to make an assumption on how  
bidirectional_iterator defines "pointer" and "reference".






More information about the cfe-dev mailing list