[Issue 12597] Payload getter for std.typecons.Typedef
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 19 05:21:15 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12597
--- Comment #2 from bearophile_hugs at eml.cc ---
(In reply to Andrej Mitrovic from comment #1)
> what if the original type is a user-defined type
> that already defines the get() method?
Then perhaps you need to write this?
auto y3 = sin(x.get.get);
--
More information about the Digitalmars-d-bugs
mailing list