News for hackers. Stuff that matters.
Re:C++26: A Placeholder with No Name by fooker on Saturday January 11, 2025 @01:59PM (#42668108)
Like everything in life, it has to be used in moderation.

auto it = data.begin();

Is a lot more readable than

std::vector<std::pair<std::vector<foo>, int>::iterator it = ....

Re:C++26: A Placeholder with No Name by gigatexal on Saturday January 11, 2025 @02:50PM (#42668468)
Oh boy! A vector of tuples of vectors and ints? Crazy
Re:C++26: A Placeholder with No Name by fooker on Monday January 13, 2025 @11:04PM (#42693475)
Nesting standard library containers can get you neat data structures without much work
Re:C++26: A Placeholder with No Name by junon on Sunday January 12, 2025 @04:26AM (#42672321)
I don't know why I feel the urge to point this out but you missed an angle bracket :D
Re:C++26: A Placeholder with No Name by fooker on Monday January 13, 2025 @11:03PM (#42693468)
That's exactly why I'd use auto here!