3 ms·
constexpr in 11 vs 14 was night and day difference.
by dataflow 2y ago
constexpr in 11 vs 14 was night and day difference.
- _zagj 2y agoconstexpr "if" statements (C++20) are also a game-changer.
- boguscoder 2y agoThose are c++17
- pjmlp 2y agoInitially, C++20 and C++23 extended its use cases, and combined with concepts is a pretty sweet spot for compile time metaprogramming without SFINAE or tag dispatch tricks. Much better than having yet another syntax for macros.