News for hackers. Stuff that matters.
Re:New C features in GCC 13 by dale_glass on Thursday May 04, 2023 @08:41AM (#35814351)
auto is at its best when you have something like:

    std::unordered_multimap<string, std::unordered_multimap<string, someclass>> getWidgets();
With templates you can easily have very unwieldy types, and there's not that much benefit from spelling them out explicitly.

Like any tool, there are good and bad uses of it. Well used, it removes unnecessary clutter and makes the code more readable.

There are no comments on this comment yet.