Pattern matching in C++ and D

Timon Gehr timon.gehr at gmx.ch
Tue Jan 7 18:01:27 UTC 2020


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


More information about the Digitalmars-d mailing list