[Issue 1807] ENHANCEMENT: Let IFTI "see through" templates to simple aliases
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 18 09:40:46 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1807
dawg at dawgfoto.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dawg at dawgfoto.de
--- Comment #6 from dawg at dawgfoto.de 2012-02-18 09:40:40 PST ---
One issue with this is that treating certain kinds of templates
different that others will make it very difficult to understand
why matching might fail.
If we want to have alias templates to behave different than plain
templates they should have a language construct that enforces the
limitations and resembles struct templates.
alias(T) void delegate(T*) wrap;
expands to:
template wrap(T) { alias void delegate(T*) wrap; }
--
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