Creating a new type, to get strong-ish type checking and restrict usage to certain operations, using struct perhaps

Cecil Ward via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 21 23:08:59 PDT 2017


On Saturday, 22 July 2017 at 03:18:29 UTC, Cecil Ward wrote:
> [...]

I saw David Nadlinger's units package. I'd like to know how the 
strong typing works.


More information about the Digitalmars-d-learn mailing list