-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all, can anyone explain why the following doesn't compile and how to fix it? tried with g++ 4.1.2 and g++ 4.3.1 ////////////////////////////////// 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI3B9OZbZrB6HelLIRAsWMAJ9VJRmuDyWMHJ7MmdWnIscbJPfILQCfTUrW 4cCQKAEEe5VuY5O0/HTrYz0= =2cgb -----END PGP SIGNATURE----- _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus