On Friday, 26 April 2013 at 15:36:32 UTC, eles wrote:
On Friday, 26 April 2013 at 15:34:01 UTC, eles wrote:Alternatively, a function/variable could be provided inside the module, returning the module name as a string, so that one could write:Object.factory(__MODULE__, ".Human");
I believe __MODULE__ will be available in the next release of dmd. https://github.com/D-Programming-Language/dmd/pull/1462 --rt
