[Issue 11706] std.traits.OriginalType should support std.typecons.Typedef

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 24 04:21:14 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=11706

--- Comment #6 from bearophile_hugs at eml.cc ---
(In reply to Andrej Mitrovic from comment #5)

> That's not safer if 'myInt' is a UDT that happens to define get(). You may
> end up calling a function that returns something else entirely.

Right, sorry, see my comments in Issue 12597

--


More information about the Digitalmars-d-bugs mailing list