I have made a discovery
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 18 18:53:41 PDT 2015
On Sunday, 19 April 2015 at 00:39:03 UTC, ketmar wrote:
> but it's much easier to simply write "new Exception" instead of
> "allocateWithMyCoolScheme!Exception".
eh i would just call it "New!Exception" where the cool scheme is
in the module name. So you "import mycoolscheme;" which defines
the New.
Then you can disambiguate with the usual module features if you
use two schemes in the same scope. It'd be so beautiful.
More information about the Digitalmars-d
mailing list