hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.3K
active users

Šimon Tóth

The trio of std::ranges::find_last, std::ranges::find_last_if and std::ranges::find_last_if_not are C++23 algorithms that find the last element matching the provided value or predicate.

While we could use std::ranges::find on bidirectional ranges with the same effect, these variants can operate on forward ranges.

Compiler Explorer link: compiler-explorer.com/z/Mfz7Wj