This session will be a brainstorm, so, possibly, we will invent something even more interesting, and make the result available for the whole C++ society. Join me to work on this important problem.
"Property" is a special sort of class member between field and method.
https://en.wikipedia.org/wiki/Property_(programming). Properties are extremely useful while working with a poorly organized legacy codebase, e.g. as a mean to transparently implement setters and getters in initially public classes.
In reality there is no a part in C++ standard for implementation of properties, though there are many ways to implement them using syntax of the language. We will overview these general ways with its pros and cons.
A good implementation is an implementation with a little both memory and performance overhead. At the moment I have a developed solution with memory overhead of one pointer and one indirection for performance, per property; It is better than all the implementations I could find publicly available.We will try to find an implementation as ideal as possible.