C#-like properties in native c++?
<p>In c# / .Net you can do something like this:</p>

<pre><code>someThing.text = "blah";
String blah = someThing.text;
</code></pre>

<p>However the above code does not actually interact with the someThing's text String directly, it uses a get and set property.</p>

<p>Similarly, read-only properties can be used.</p>

<p>Is there a way to do something similar in native c++? (not c++ .net)</p>

<p>Thanks</p>
