http://d.puremagic.com/issues/show_bug.cgi?id=8786
Jonathan M Davis <jmdavisp...@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisp...@gmx.com --- Comment #2 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-10-09 01:52:20 PDT --- Yes, _class_ object's have their invariant called. You're using a struct. It's cast to bool (like it would be in the condition of an if statement), and your struct doesn't define a cast to bool, so it doesn't work. If you want to check the invariant, then take its address so that you're operating on a pointer to a struct. In that case, it will act the same way that a class does. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------