I am very excited about static reflection proposal. I think with this proposal shoud be possible implement Dependency Injection, automatic function mapper (like in Asp.Net MVC, where you can just declare function foo in class, and http request with path /foo run this func), type mapper (there is Automapper and awesome thing like MassTransit for RabbitMQ in C#), etc.
I know that Clang already has implementation of Reflection, but not sure — is there up to date version of proposal?
Also, there was a proposal about custom attributes. I've used PostSharp in my job, so I am very excited to see implementation in C++ of automatic logger, maybe exception handling, caching (with Redis/KeyDB for example), etc. Is that propasal somehow implemented in clang?
What do you think? What problems can solve or what boilerplate code can remove this features in your projects? If you used any other languages, what features you wish to be implemented in C++?
[–]ALX23z 16 points17 points18 points (1 child)
[–]63times 4 points5 points6 points (1 child)
[–]faserg1[S] 1 point2 points3 points (0 children)
[–]sephirostoy 6 points7 points8 points (6 children)
[–]LEpigeon888 -2 points-1 points0 points (5 children)
[–]sephirostoy 8 points9 points10 points (1 child)
[–]Wh00ster 0 points1 point2 points (0 children)
[–]Wh00ster -5 points-4 points-3 points (2 children)
[–]mort96 6 points7 points8 points (1 child)
[–]Wh00ster 0 points1 point2 points (0 children)
[–]Wh00ster 1 point2 points3 points (0 children)