C++ pattern matching is coming
ryuukk_
ryuukk.dev at gmail.com
Fri Oct 28 14:02:37 UTC 2022
On Friday, 28 October 2022 at 12:37:22 UTC, Paul Backus wrote:
> On Friday, 28 October 2022 at 12:34:42 UTC, ryuukk_ wrote:
>> std.sumtype is buggy, it's slow and it is a template
>>
>> C/C++ also had them with MACROs, why do you think they decided
>> to now have them has built in feature?
>
> If you've found any bugs in `std.sumtype`, please report them
> on issues.dlang.org or
> https://github.com/pbackus/sumtype/issues!
The only fix is to make it a builtin language feature, the burden
should not be on the users
It is similar with Nullable
Try to compile this: https://github.com/d-language-server/dls
And try to decipher the error messages full of template mess
More information about the Digitalmars-d
mailing list