lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++ question


From: address@hidden
Subject: C++ question
Date: Wed, 27 Jun 2012 21:28:47 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]