Adding the ?. operator to D

Paul Backus snarwin at gmail.com
Sat Sep 12 16:56:58 UTC 2020


On Saturday, 12 September 2020 at 16:51:20 UTC, Per Nordlöw wrote:
> Has there been any discussions on adding the ?. operator to 
> simplify structure matching on class trees typically found in 
> compilers such as dmd.

The package 'optional' on dub has a library version of this:

https://aliak00.github.io/optional/optional/oc/oc.html


More information about the Digitalmars-d mailing list