TypeFunction example creatiing a conversion matrix

jmh530 john.michael.hall at gmail.com
Thu Oct 1 11:22:12 UTC 2020


On Thursday, 1 October 2020 at 08:38:43 UTC, user1234 wrote:
> On Thursday, 1 October 2020 at 08:26:53 UTC, Stefan Koch wrote:
>> On Thursday, 1 October 2020 at 08:21:24 UTC, Stefan Koch wrote:
>>
>>> string makeConvMatrix(alias[] types ...)
>>
>> Wait .... What the Hell?
>> Why did this compile?
>>
>> I must have fixed parsing `alias[]` ?
>
> By the way why cant you pass directly the types (i.e lowercase 
> builtins) ?

Is this something that could be changed theoretically (i.e. with 
a DIP)?


More information about the Digitalmars-d mailing list