Why do I get stack overflow?
bearophile
bearophileHUGS at lycos.com
Mon May 25 02:35:30 PDT 2009
Ary Borenszweig:
> Thanks. Later in my head I instantiated the template and noticed the
> problem.
In time I have created similar problems in my code 2-3 times, missing a "static" before some "if".
Can't the compiler help spot such bugs? If the variables a dynamic if works on are constants (expecially if they are types) the compiler may give a warning...
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list