G
Gabest
Given the following macro, intellisense only lists the first member of the
struct:
#define decl(name, members) struct name {members};
decl(test, int i; int j; int k
test t;
t. <-- here at this point only 'i' is offered for code completion
By checking the preprocessed source file I can see that the declaration was
correct (ie there stands struct test {int i; int j; int k;}; for this case).
struct:
#define decl(name, members) struct name {members};
decl(test, int i; int j; int k
test t;
t. <-- here at this point only 'i' is offered for code completion
By checking the preprocessed source file I can see that the declaration was
correct (ie there stands struct test {int i; int j; int k;}; for this case).