enum abuse

Mike none at none.com
Fri Feb 28 03:27:30 PST 2014


I recently saw the following line of code:

enum size = __traits(classInstanceSize, Foo);

Why "enum"?  Is this the equivalent of "immutable auto" or 
something?

Mike


More information about the Digitalmars-d-learn mailing list