Daily bit(e) of C++ | placeholder name _
Daily bit(e) of C++ #423, Avoiding naming variables whose names do not matter in C++26 using the placeholder name _.
Since C++26, we can finally avoid the cumbersome need to name objects even when the name doesn't matter using the placeholder name _.
For variables with dynamic lifetimes, non-static members, lambda captures and structured bindings, the _ can redefine existing instances in the same scope.
If the _ has a unique meaning (no redefinition), it can still be referenced.