On Saturday, 19 February 2022 at 23:37:01 UTC, Vijay Nayar wrote:

What is the main motivator to allow parameters with no names?

1) `extern(C) void* malloc(size_t);`

No need for parameter name at all as that is only a declaration. You don't have an implementation thus don't need a name for the parameter.

2) As Ali says, unused parameters (i.e. in template specializations, virtual function overrides, dummy parameters for overload resolution purposes, etc.)

Reply via email to