Hey all,

If I have a header file with stuff like:

class MyClass {
typedef int (*happy)(int a, int b, int c);

happy foo
happy bar;
happy baz;
}

Is there a way to define foo, bar, and baz with the same typedef in the c++ 
file or do I have to enumerate all the arguments for the function definition à 
la

int baz (int a, int b, int c) { return a + b + c; }

?

Cheers,
MS



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to