2 ms·
> (3) There's no widespread perception that C++14 or later bring compelling language improvements. Constexpr if (introduced in C++17). If you're building a lib
by jcranmer 7y ago
> (3) There's no widespread perception that C++14 or later bring compelling language improvements.
Constexpr if (introduced in C++17). If you're building a library that uses templated types (and therefore static dispatch instead of virtual functions and dynamic dispatch), then using constexpr if dramatically simplifies the implementation of your code.
- saghm 7y agoI don't think GP was arguing that there weren't any compelling language improvements, just that there isn't a "widespread perception" of those improvements.