Preventing implicit conversion

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 4 09:25:50 PST 2015


V Wed, 04 Nov 2015 14:27:45 +0000
ixid via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
napsáno:

> Is there an elegant way of avoiding implicit conversion to int 
> when you're using shorter types?

http://dlang.org/phobos/std_typecons.html#.Typedef




More information about the Digitalmars-d-learn mailing list