[Issue 1228] Class invariants should not be called before the object is fully constructed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 11 12:25:53 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1228
------- Comment #1 from braddr at puremagic.com 2007-05-11 14:25 -------
Invariants are checked after every public member function's execution as well,
so the behavior you're seeing at least meets the spec. Now, I can see some
arguments for not having invariants checked until construction is complete, but
that'd be a change in documented behavior.
--
More information about the Digitalmars-d-bugs
mailing list