[Issue 7369] Inout constructor causes compiler to reject invariant

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 28 01:08:58 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7369



--- Comment #2 from Stewart Gordon <smjg at iname.com> 2012-01-28 01:08:56 PST ---
invariant() const {}
doesn't compile.  Though I've just found that
    const invariant() {}
does.

But why aren't invariants automatically const?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list