Template alias parameter does not accept functions

Dicebot m.strashun at gmail.com
Wed Feb 27 07:20:04 PST 2013


Looking here: 
http://dlang.org/template.html#TemplateAliasParameter

There are no function symbols in the list. And quick check that 
it won't compile.

Two questions arise:
a) Why so?
b) Is there a workaround?

I have started writing some code with UDAs and do want to pass a 
function to utility template to process without loosing attribute 
information, thus the issue.


More information about the Digitalmars-d-learn mailing list