Generate accessors in Visual C++ 2008
- by gramm
Hi,
I'm trying to generate the accessors and mutators for my variables automatically, but just can't find a way. I tried the right-click/refactor... solution, but the refactor item doesn't appear.
I'm not in the mood right now to learn how to write a macro to do this, and I don't have the money to buy a commercial solution (internship student).
Any help is welcome, I don't feel like writing all my get/set by hand.
note : it's C++ so the {get;set} syntax doesn't work (or does it ?).