Pattern matching in C++ and D

12345swordy alexanderheistermann at gmail.com
Tue Jan 7 20:28:33 UTC 2020


On Tuesday, 7 January 2020 at 18:01:27 UTC, Timon Gehr wrote:
> On 07.01.20 15:00, Francesco Mecca wrote:
>> 
>> The main shortcoming with D is that we don't have a builtin 
>> tuple type and destructoring assignments.
>> Timon Gehr was working on that 
>> (https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md) but the last commit is 2 years old.
>
> Partial implementation: 
> https://github.com/dlang/dmd/compare/master...tgehr:tuple-syntax

IRC you don't need to have an implementation ready for a dip to 
be accepted, so why haven't you submit one already?


More information about the Digitalmars-d mailing list