
Thorsten Ottosen <nesotto@cs.aau.dk> writes:
Toon Knapen <toon.knapen <at> fft.be> writes:
The vacpp compiler warns me that on line 40 of void_ptr_iterator.hpp:
<quote> 'iterator_category' cannot be declared because its name has already been used' </quote>
because of following statement
typedef typename iterator_category<T>::type iterator_category ;
and this sounds reasonable to me.
does it? I don't have time to look up in the standard, but I don't think many other compilers have any problems with it. If you were to use iterator_category<T>::type again, then I could understand the problem.
The only context in which that's illegal is in the same scope that the iterator_category class template was declared. -- Dave Abrahams Boost Consulting www.boost-consulting.com