How can you read and understand the source of *naryFun in functional.d?
andrej.mitrovich at gmail.com
Sat Jan 29 13:18:18 PST 2011
Woops, sorry about the missing function definition after the line:
"unaryFun takes the string argument and might create this function:"
This should be maybe:
int unaryFun(int a)
return (a & 1) == 0;
But that's oversimplification since that instantiation is a function
template itself, not a specific function.
More information about the Digitalmars-d-learn