News for hackers. Stuff that matters.
Re:Why the C++ standard ships every three years by voldacar on Sunday July 14, 2019 @12:56AM (#20431710)
How does auto improve performance? Doesn't it just expand to whatever type a human would have manually had to put there in the first place?
Re:Why the C++ standard ships every three years by AstralStorm on Sunday July 14, 2019 @02:36AM (#20432011)
It allows automatic generic specialization in some cases by the compiler, as you don't have to do template-fu or use a nonspecific type or manually write multiple specializations.

Plus it usually makes the code cleaner by focusing on structure not types. As any construct, it can of course be abused.