I am working on a project where i have to do same processing for all the
members of the structure. The problem is the struct is very huge (with
about
20 ints) and i have to write the specific function to each structure
member.
I am a java programmer also , java has a concept called reflection which
helps to extract the members from the object. I am just wondering if such
a
way is available in C++. I saw few external libraries which can do such
thing but they involve log of changes in structure.
any better idea ?
Vijay