How to define struct with function pointer member ?
Gabi
galim120 at bezeqint.net
Sun Jul 28 15:04:55 PDT 2013
I tried:
struct X
{
..
function double(Individual) someFun;
..
}
But get:
Error: Declaration expected, not 'function'
Thanks,
Gabi
More information about the Digitalmars-d-learn
mailing list