Boost logo

Boost :

From: Dan W. (danw_at_[hidden])
Date: 2004-01-08 16:42:33


Daniel Wallin wrote:
> template<class T>
> struct B
> {
> struct type {};
> };
>
> template<class T>
> struct A : B<A<T> >
> {
> typedef typename B<A<T> >::type type;
> dependent, needs typename ^^^^
> };

...or, do you mean that I should be using

     template< typename T >
     struct A : private B< A >
     {
         ...

?


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