People pushing it beyond what it was originally designed for in C++98.
Most of the template meta-programming tricks are hardly needed since C++20, and improved yet again in C++23, with C++26 static reflection making them completly not worthwhile pursuing, assuming they sort out the whole ratification drama.
Yes, I am aware of those points. I follow the new C++ standards (haven't touched reflection though). The transformation of C++ since C++11 has been amazing and I think there is still no competitor for, say, numeric computation frameworks. But some stuff is still awkward to write and of course other features probably just can't make it to the language.
Thanks for the hint, though I actually hoped for something lightweight like a compiler flag for C++ output or helpers for gdb/lldb. C macros might be evil, but at least they can be easy expanded to standard C.
People pushing it beyond what it was originally designed for in C++98.
Most of the template meta-programming tricks are hardly needed since C++20, and improved yet again in C++23, with C++26 static reflection making them completly not worthwhile pursuing, assuming they sort out the whole ratification drama.
Replies (1)
Replies (1)
The usual enum to string example, https://godbolt.org/z/aKc8Ebza4
Replies (1)
And how to enable output of, so to say, "C-preprocessed" source?
Replies (1)
https://blog.jetbrains.com/clion/2026/07/2026-2-release/#sup...
Replies (1)
Continue this thread (1 replies) →