D - Nested Templates
- J Anderson (16/16) Oct 22 2003 Any plans for nested templates? The following causes " Assertion
- Walter (1/1) Oct 24 2003 That should work. It's a bug. :-(
Any plans for nested templates? The following causes " Assertion failure: '0' on line 62 in file 'template.c' ". template foo (T) { template bar (T) { } } int main( char [] [] args ) { instance foo(int) temp; return 1; } In either case, it would be nice to have a better error message, rather then a compilation crash. -Anderson
Oct 22 2003