Well, at least std::ranges::search returns a subrange, I guess it might not be the worst thing that happened to standard library since iostreams after all.

But why doesn't it return the end iterators for both sentinels used huh, you niebloid?! Oh, perhaps because it doesn't freaking matter? Is is possible that every algorithm doesn't also need to be a find_if? OMG could it be that if I want/need an end iterator, I just wouldn't use/setup a sentinel in the first place??

@namark the overall changes in standard library of C++ makes me choose C for my next job. I really don't understand why on earth they need so much trash in standard. and I think it's not good to stir up programming language tools and pure system features like threads, etc. so I just don't want to get into this. if standards go mad, this is not good.
Follow

@iron_bug they said only libraries that have a proven track record of use can get it, but apparently, if you have friends in high places, you can get your freshly baked experimental stuff in as well. Guess it reflects the current state of the industry overall. At least they stick to the basic principles and don't shove it down your throat, so you can safely ignore it all and use a subset. Still painful to watch them suffer.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.