[Issue 5710] cannot use delegates as parameters to non-global template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 30 11:14:55 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5710
klickverbot <code at klickverbot.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at klickverbot.at
--- Comment #14 from klickverbot <code at klickverbot.at> 2012-07-30 11:14:54 PDT ---
(In reply to comment #12)
> If not, I think I can use UFCS to move
> std.parallelism.map, reduce, etc. out of TaskPool w/o changing the call syntax,
> and work around this bug.
I don't think you can, because D doesn't have ADL, so if somebody just has the
TaskPool type, but not the module in scope, the free functions would not be
found.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list