-
Hi! I am currently using I wanted to state all members with a single variable in the parameter inside macro, because I will be needing all member variables of my struct (around 15-20 count), and writing all those within the macro one by one (i.e. (name, member1, member2, member3,....,member19) and so on) becomes tedious. Is there an shortcut to do it? Some macro or even some variable within C++, or any other elegant way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No, this is a limitation of C++. |
Beta Was this translation helpful? Give feedback.
No, this is a limitation of C++.