Null-Safe Dereference Operator

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 13 18:08:50 PDT 2017


On Tuesday, March 14, 2017 00:51:02 Jolly James via Digitalmars-d-learn 
wrote:
> Does anybody know, if D has a null-safe dereference operator like
> C# does (?.) or something similar?

It does not, though if you really wanted to, you could probably create
template that did the same thing fairly easily.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list