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.4K
active users

Šimon Tóth

The std::views::all may seem a bit pointless, producing a view of all elements in a range.

However, std::views::all will produce different types based on the value category of the argument and whether it is a borrowed range, ensuring that we don't end up with a dangling view.

The resulting type can also be accessed through a helper std::views::all_t.

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