The overload NamedArgument(string) is redundant since there is NamedArgument(string[]...).
auto ref is unnecessary when the argument is not mutated.
The type of an auto ref parameter doesn’t need to be a template placeholder; it can be a concrete type. However, a function featuring such parameter should be a template nonetheless.
NamedArgument(string)
is redundant since there isNamedArgument(string[]...)
.auto ref
is unnecessary when the argument is not mutated.auto ref
parameter doesn’t need to be a template placeholder; it can be a concrete type. However, a function featuring such parameter should be a template nonetheless.