On 27/02/2013 18:06, Dicebot wrote:
Ye, lambda litteral issue is different one.
OK.
My code example: http://dpaste.1azy.net/b06370ea
The problem may be related to optional parentheses and stringof, and may
be a compiler bug.
You can pass function names as a template alias parameter:
imp
Fuck. Optional. Parens.
Thank you. I have tried some other code than .stringof but guess
it invoked Symbols somewhere silently, too.
Ye, lambda litteral issue is different one.
My code example: http://dpaste.1azy.net/b06370ea
On 27/02/2013 17:38, Nick Treleaven wrote:
On 27/02/2013 15:20, Dicebot wrote:
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?
Actua
On 27/02/2013 15:20, Dicebot wrote:
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?
This has sometimes come up in the NG, with some s
Actually it looks like a somewhat broken behavior as it works for
parameter-less functions.