Hi,
I read a program, found a #define statement.
#define HMIClass_DECLARE(name) \
HMIClass &name();
I think the macro works like:
Class A { .. };
A &aInstance();
But I am a little confused with A &a();
I think, it is used to create an instance.
Hi,
I read a program, found a #define statement.
#define HMIClass_DECLARE(name) \
HMIClass &name();
I think the macro works like:
Class A { .. };
A &aInstance();
But I am a little confused with A &a();
I think, it is used to create an instance.
Bookmarks