Units of Measurement Library: units-d

crimaniak via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Apr 2 05:09:36 PDT 2016


On Friday, 1 April 2016 at 22:54:53 UTC, Simen Kjaeraas wrote:

...
> I kinda agree. And looking at 
> https://dlang.org/spec/traits.html, I see there's __MODULE__, 
> which would probably be a better choice than __FILE__.
>
  I think adding something like __UNIQUE_NAME__ to predefined 
constants will allow to avoid all these perversions. The only 
thing to think here about uniqueness scope.


More information about the Digitalmars-d-announce mailing list