Ichthyostega <[EMAIL PROTECTED]> writes:

> template<typename T>
>   struct A
>     {
>       template<typename U>
>       struct B
>         {
>            static int aa;
>         };
>     };
>
> template<typename T, typename U>
> int A<T>::template B<U>::aa;  // error: too few template-parameter-lists

Try:

template<typename T>
template<typename U>
int A<T>::B<U>::aa;


-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to