instantiate each of a tuple of templates (Take 2)

Dicebot public at dicebot.lv
Fri Aug 2 06:07:15 PDT 2013


On Friday, 2 August 2013 at 12:58:08 UTC, John Colvin wrote:
> std/typetuple.d(664): Error: template instance pred!(fun6) 
> cannot use local 'fun6' as parameter to non-global template 
> isVoidFun(alias fun)
>
> So it's back to that same problem again.

That is probably my most hated error message ever... Anyway, it 
should work if "isVoidFun" is global (not nested) symbol, not 
"fun6". Are you sure about it?


More information about the Digitalmars-d-learn mailing list