4 ms·
It is since C++20. Comment author tries to make code verbose to make their point or does not know about auto and the state of C++.
by unglaublich 6y ago
It is since C++20.
Comment author tries to make code verbose to make their point or does not know about auto and the state of C++.
- Aardwolf 6y agoI simply copied it from the article (minus the surrounding function). Fortunately you only need to write this at the utility function, not at every call site, so it's ok. In general I find various new features in C++ suffer from verbosity, but of course without experimental this one gets better.
- identity0 6y agoauto in function signatures is just really, really stupid.