C++ Logo

std-proposals

Advanced search

Re: [std-proposals] A draft for modern switch

From: Jeremy Rifkin <rifkin.jer_at_[hidden]>
Date: Tue, 20 May 2025 11:41:42 -0500
> I think very few people would use 'pattern match a tuple'

Usage experience from other languages shows us that they do

> while many more would 'switch a regex‘

I'm not sure what you mean, but this doesn't sound very generalizable or
useful to me

Jeremy

On Tue, May 20, 2025 at 11:37 AM Zhao YunShan via Std-Proposals <
std-proposals_at_[hidden]> wrote:

>
> *I think very few people would use 'pattern match a tuple', while many
> more would 'switch a regex‘*
>
>
> The syntax for `match` is really a bit too weird.
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2025-05-20 16:41:59