container vs standard array

vino akashvino79 at gmail.com
Tue Sep 19 23:25:02 UTC 2023


On Tuesday, 19 September 2023 at 20:20:17 UTC, Nick Treleaven 
wrote:
> 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

Thank you very much.


More information about the Digitalmars-d-learn mailing list