Shopping for template languages

user1234 user1234 at 12.de
Wed Aug 14 15:03:44 UTC 2024


On Wednesday, 14 August 2024 at 14:43:53 UTC, IchorDev wrote:
> On Wednesday, 14 August 2024 at 13:30:25 UTC, cc wrote:
>> [...]
>
> You and no one else, you do it to yourself.
>
>> [...]
>
> And apparently there are no women in the field of computer 
> science.
>
>> [...]
>
> Now let’s try to use the same syntax for type-inferred struct 
> constructors:
> ```d
> MyStruct s = (1, 2, 3);
> ```
> Oh look, a comma expression!

Oh look, a tuple-exp implictly converted using structural typing 
methods. D does not parse the comma-exp anymore.


More information about the Digitalmars-d mailing list