I was looking for a way to get some kind of reflection on my C++ structs (to help with serializing as well as just data management in general). I found this answer: C++ preprocessor: avoid code repetition of member variable list
It seemed like a great solution, until I implemented it and Visual Studio's IntelliSense exploded. Red squiggles everywhere! It doesn't understand member variable names in a struct using the REFLECTABLE macro, even though the compiler does.
Did I implement it wrong? Is there something I can do to make IntelliSense understand the variable names? Is there a better alternative method of getting C++ reflection that plays nicely with IntelliSense? It has to be able to iterate over a struct's members as well as get the name of the variable at runtime.