Object.factory() and module name

"Luís "Luís
Fri Apr 26 09:06:13 PDT 2013


On Friday, 26 April 2013 at 15:34:01 UTC, eles wrote:
> Proposals:
> Object.factory(".Human"); // idem as Object.factory("<module 
> name>.Human");

Can't this one be done with a trivial change to the library, for 
strings known at compile time, by checking at compile time if the 
string starts with a dot? Would that be enough to alleviate the 
problem, or do you think more dynamic scenarios also suffer 
significantly from this limitation?


More information about the Digitalmars-d mailing list