[Issue 1228] Class invariants should not be called before the object is fully constructed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 30 22:38:21 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1228
------- Comment #4 from bugzilla at digitalmars.com 2007-07-01 00:38 -------
Since the invariant is called at the start of public or
exported members, such members should not be called from
constructors. I'll update the documentation to indicate this.
--
More information about the Digitalmars-d-bugs
mailing list