Tagged unions [Was: What's wrong with std.variant.Variant?]

Dukc ajieskola at gmail.com
Tue Jun 16 19:20:20 UTC 2020


On Tuesday, 16 June 2020 at 19:15:24 UTC, Dukc wrote:
> I am not generally very fond of littering code with extra 
> variables, that converting `switch`es directly to `match`s or 
> `visit`s requires. But keeping the general code architecture as 
> good as in your example, should mostly avoid that need.

Meant need for extra variables, not need for converting the 
`switch`es.




More information about the Digitalmars-d mailing list