[Issue 4265] It should be possible to query template parameters with __traits
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 24 05:30:28 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4265
Andrei Alexandrescu <andrei at erdani.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at erdani.com
--- Comment #7 from Andrei Alexandrescu <andrei at erdani.com> 2013-03-24 05:30:25 PDT ---
C++ lacks this particular ability and makes up for it by requiring templates to
define internal aliases for type parameters. However, this is more tenuous for
value parameters and simply impossible for template template parameters (in our
case alias parameters). This has led to certain contortions and limitations;
based on that experience I think we should add this ability.
--
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