
26 Jun
2005
26 Jun
'05
12:54 p.m.
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. -Thorsten