container vs standard array

Nick Treleaven nick at geany.org
Tue Sep 19 20:20:17 UTC 2023


On Tuesday, 19 September 2023 at 19:57:34 UTC, Nick Treleaven 
wrote:
> This is because a single array can be passed to a typesafe 
> variadic parameter rather than elements of that array type. And 
> then immutable(char) doesn't convert to string.
>
> I think a non-variadic overload could be added to make it work 
> as expected.

https://github.com/dlang/phobos/pull/8818


More information about the Digitalmars-d-learn mailing list