Misu:

void main(string[] args)
{
        class Account
        {
                public this(int id) { this.id = id; }
                int id;
        }
...

This is not an answer to your question, but note:

void main() {
    class Foo {}
    static class Bar {}
    pragma(msg, __traits(classInstanceSize, Foo));
    pragma(msg, __traits(classInstanceSize, Bar));
}

Output:

12u
8u

Bye,
bearophile

Reply via email to