Using metaclasses to shorten C++ boilerplate code
It seems that using C++ with Noesis requires a bit more boilerplate than the C# equivalent.
The upcoming metaclass feature in C++ should help that situation. Please check it out:
https://herbsutter.com/2017/07/26/metac ... erative-c/
Although not available on most compilers, yet, there is a Clang fork with the intention of merging back to mainline once the feature spec is approved:
https://github.com/asutton/clang
It would be great if this feature was used by Noesis GUI at the same time that the language feature hits mainstream compilers, as it has the potential to dramatically simplify the initial learning curve of using Noesis GUI.
The upcoming metaclass feature in C++ should help that situation. Please check it out:
https://herbsutter.com/2017/07/26/metac ... erative-c/
Although not available on most compilers, yet, there is a Clang fork with the intention of merging back to mainline once the feature spec is approved:
https://github.com/asutton/clang
It would be great if this feature was used by Noesis GUI at the same time that the language feature hits mainstream compilers, as it has the potential to dramatically simplify the initial learning curve of using Noesis GUI.
Re: Using metaclasses to shorten C++ boilerplate code
Thanks for sharing this! We are really excited about metaclasses because the static reflection proposal could have huge advantages for NoesisGUI C++ API. Right now this is one of the big differences between C++ and C# API. We would love to deprecate our custom C++ reflection and use a standard proposal.
We will keep you posted regarding this.
We will keep you posted regarding this.
Who is online
Users browsing this forum: Google [Bot] and 84 guests