On 09/04/2008, Simen Kjaeraas <simen.kjaras at gmail.com> wrote: > class foo > { > invariant int bar; > > this() > { > bar = 4; > } > } > > This works under DMD 2.012. That's interesting. I did not know that.