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:

8.9K
active users

Šimon Tóth

The trio of boolean algorithms, std::all_of, std::any_of, and std::none_of, provide the corresponding boolean reductions on top of a unary predicate.

While the std::all_of and std::none_of return true for empty ranges, std::any_of requires a positive presence and will return false for an empty range.

The algorithms have both the C++17 parallel and C++20 range versions.

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