Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-06-26 07:54:34


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk