D does compile time function evaluation every time there's a ConstExpression in the grammar. It did this back in 2007. It required no changes to the grammar or syntax, it just enhanced constant folding to be able to do function calls.
I don't understand why it is so complex in C++.
8 days ago, 90+ comments: https://news.ycombinator.com/item?id=43775670
love seeing all the constant updates but sometimes i feel like the biggest pain points just stick around way too long - you ever feel like these standards chase the wrong problems sometimes?
And in the wild (supported by all major compilers) we will see this somewhere around 2040…
One of my first tasks in my carrier was implementing stable sort to incomplete stl implementation. In 3 years no one used it. This so niche it should not be part of C++ standard.
seeing the words "constexpr sorting" makes all the compile-time sirens go off in my head
Amazing, now could I just get a way to do asynchronous network requests in two lines of code, like I have with other languages?
Honestly, it seems to me like the committee is constantly chasing the easy bits but is failing to address the bigger issues in the language and, more importantly, the standard library.