On Jun 16, 2026, at 2:20 PM, Sebastian Wittmeier via Std-Proposals <std-proposals@lists.isocpp.org> wrote:

In this case

 

X g(auto = X{5});

 

deducting the rhs type for the unnamed parameter


I also immediately thought of this. However, auto in a function makes it a templated function. So, this rather reads as a templated function with the default type X and the default value 5.