John Love-Jensen wrote:
Hi Jakub, Your problem is not with templates. Here's your problem in a nutshell... struct A { int x; struct B { A a; }; };
write this as struct A { int x; struct B;}; struct A::B { A a;}; nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk