19
Efficient C++: The hidden compile-time cost of auto return types
(andreasfertig.com)
The center for all discussion and news regarding C++.
From my discussion with C++ folk, auto is just part of the "modern" way of doing c++. Paired with the -> return type. Perhaps including that -> return type negates this problem? It's still strange to me. Feels more like Rust
One day the use of
auto
will grow so extensive that modern Python code will have more type annotations than modern C++ code!