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

Šimon Tóth

C++23 explicit object parameter (a.k.a. deducing this) introduces the ability to name the previously implicit "this" argument explicitly.

This allows for different spellings of method variants (lvalue, const lvalue, rvalue).
Combined with type deduction, it finally allows spelling all three variants as one generic method (significantly reducing code duplication).

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