3 ms·
I have been waiting for static reflection for the last 20 years. The current proposal seems quite nice, but the real question is whether any non trivial usage w
by gpderetta 2y ago
I have been waiting for static reflection for the last 20 years. The current proposal seems quite nice, but the real question is whether any non trivial usage will kill compilation performance.
- a1o 2y agoThe implementation that exists for clang is fast but we will see how it goes with MSVC and GCC.
- gpderetta 2y agoAt least is a proof existence that it can be done.
- flohofwoe 2y agoThat doesn't mean much unfortunately, Clang had a fully working C99 designated initialization in C++ for many years, but the designated initialization that ended up in C++20 is only a butchered version of the full feature set despite Clang clearly demonstrating that it's possible to integrate the full C99 designated init feature set into C++.