[Issue 7802] UFCS functions get lost when type is transmitted to template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 1 23:22:47 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7802
deadalnix <deadalnix at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |deadalnix at gmail.com
--- Comment #4 from deadalnix <deadalnix at gmail.com> 2012-04-01 23:23:20 PDT ---
As mentioned in the newsgroup, templates instantiation and UFCS are 2
orthogonal problems and must be treated as such.
The function can be passed as template parameter, the module name to import as
a string (and imported via mixin("import " ~ moduleName); ) or whatever.
Before trying to solve that problem, we'd better be sure this is a problem.
--
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