Type deduction on templated constructor.

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 30 02:46:43 PDT 2014


> I expected such an answer and I do understand the decisions behind it. Yet,
> you gave me a really GOOD news! Having to write cast(ubyte) 1 was way too
> much verbose for my liking, while the new ubyte(1) is reasonable enough.

Why not use `1u`?


More information about the Digitalmars-d-learn mailing list