Indeed, you could. Your example is correct.
You just beware that you're destroying the entire purpose of the class. This isn't a class, this is a POD.
Classes hide the implementation. Just so you're aware.
Awesome! Guess I'll just have to play around with it.
Can you elaborate on POD's and how I'm destroying the purpose of the class? Not sure what you mean, I am still new to this class thing.