|
|
|
|
|
by Espressosaurus
1118 days ago
|
|
constexpr is great. I can finally do most of the compile time computation that previously required template metaprogramming, and it's much more readable by comparison. C++17 makes it much more ergonomic to use too over C++11. I can't wait for us to finally upgrade our toolchain to take advantage of C++20. If you're in embedded and you're not pushing everything you can into constexpr, you're missing out on correctness and code size benefits. |
|