Is there any chance that the next version of C++ will have Microsoft's property extension?
c++
Solution
This is old. Borland added it first, back in 90s, with C++ Builder if I'm not mistaken. Microsoft followed suit, they were highly competitive back then. COM Automation was a pretty major motivator.
Given that this had three C++ language versions to stew, along with the controversy around it, the odds that this will be considered for a future revision are about zilch.
Properties have their use but they cause considerable implementation difficulties. Passing a property by reference for example is a very difficult problem to solve. The callee would need to know that an accessor needs to be called, instead of just dereferencing a pointer, and would need to know whether a getter or setter even exists. The only practical solution is to just forbid it, not exactly attractive in C++. Additional problems add up when you start to support default properties, very hard to pass up, introducing syntax ambiguity.
Problem
http://msdn.microsoft.com/en-us/library/es7h5kch.aspx This feature looks pretty sweet. This would be great because you wouldn't need getters any more. You could make member variables public; later, if you change your mind, you can turn them into property. Is this something that the standard committee has considered? Is this something they would likely accept or reject? Does this already exist and I just don't know about it yet?