A C++ implementation of the C# property accessors