Idle question, if you could toss everything added to C++ in the last 20 years in return reflection would that be worth it?
I'm of the opinion that powerful enough reflection + metaclasses (e.g. with the ability to synthesize almost arbitrary code ) would be able to transform a lot of language features (noexcept, coroutines, ...) into library features. But it's not possible for all, and you'll pry auto, range-based for, atomics semantics, lambdas, restructuring bindings, and brace-init... from my cold dead hands
Re:GCC 11.1
by spacechild1 on Tuesday April 27, 2021 @04:01PM
(#26960764)
Reflection is also one of the things I miss the most.
most definitely not. C++ still doesn't have reflection ffs, which I am reminded every time I have to type the name of an enum or class twice