In response to cpjust and King Mir and my own style, I fiddled with creating this class in response to fulfilling everyone's needs.
The goal was to get rid of get/set for every variable to make it easy to access and set and get, while still maintaining the advantages of a set/get.
Hence, here is a integer/floating emulation class.
All other operators are implemented, as well as a logging variable. I also created a thread-safe version (using Critical Sections) of the class.
I imagine there are quite a few bugs left in the implementation, though. And besides from the missing operator, there is no logging (though it is supported).
Now, those who wish can help to perfect this utility and all can be happy :D
There are two files:
CPPType.h -> contains the definition of the CCPPType (not thread safe) and CThreadCPPType (thread safe) class.
CPPTypeImpl.h -> contains the actual implementation.