state of an object

Namespace rswhite4 at googlemail.com
Sun Jul 1 23:19:52 PDT 2012


Is it possible to figure out how is the state of an object at 
compile time?
E.g. if the object is null or not:

class Foo { }

Foo f;

static if (is_null(f)) { }



More information about the Digitalmars-d-learn mailing list