"[email protected]" <[email protected]> writes: > 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
No. The parameter names are not part of the type signature. You could use a macro, but I'd advise against it. -- David Kastrup _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
