D - Nested Templates
- J Anderson <anderson badmama.com.au.REMOVE> Oct 22 2003
- "Walter" <walter digitalmars.com> Oct 24 2003
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








"Walter" <walter digitalmars.com>