[Issue 21105] Casting from a function pointer to a delegate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 3 15:07:25 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21105
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dkorpel at live.nl
--- Comment #1 from Dennis <dkorpel at live.nl> ---
Are you aware of std.functional.toDelegate?
https://dlang.org/phobos/std_functional.html#toDelegate
Implicit casting to delegate probably needs a DIP or at least some good
rationale.
--
More information about the Digitalmars-d-bugs
mailing list