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.

Reply via email to