Preventing implicit conversion

Maxim Fomin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 4 11:09:39 PST 2015


On Wednesday, 4 November 2015 at 14:27:49 UTC, ixid wrote:
> Is there an elegant way of avoiding implicit conversion to int 
> when you're using shorter types?

Only with library solution. Implicit conversions are built into 
language.


More information about the Digitalmars-d-learn mailing list