Stack overflow

Namespace rswhite4 at googlemail.com
Fri Jun 22 03:22:03 PDT 2012


I have this code:
http://codepad.org/vz17iZrm

And as long as i comment out the assert's in the constructor on 
line 10 and the assert in the invariant on line 16 it works as i 
want.
But otherwise the compiler prints stackoverflow and that's all.

Why and how is the stack overflowed with an simple assert?!


More information about the Digitalmars-d-learn mailing list