C++ pattern matching is coming

Paulo Pinto pjmlp at progtools.org
Fri Oct 28 15:57:15 UTC 2022


On Friday, 28 October 2022 at 14:49:28 UTC, Nick Treleaven wrote:
> On Friday, 28 October 2022 at 14:47:27 UTC, ryuukk_ wrote:
>> On Friday, 28 October 2022 at 14:43:54 UTC, Nick Treleaven 
>> wrote:
>>> Has C or C++ actually added sum types to their standards?
>>
>> It was proposed and feedback was favorable, it's only just a 
>> matter of when now
>
> Do you have a link? I saw the circle compiler extension and 
> feedback wasn't all favourable. Standardising something is long 
> and arduous.

The feature on ISO C++ is only planned post-C++26, as you say, is 
long and arduous.

Many hardliners don't like Circle regardless of the feature 
anyway.


More information about the Digitalmars-d mailing list