On Friday, 15 January 2021 at 14:25:09 UTC, Steven Schveighoffer wrote:
On 1/15/21 9:19 AM, Steven Schveighoffer wrote:

Something similar to BlackHole or WhiteHole. Essentially there's a default action for null for all types/fields/methods, and everything else is passed through.

And now reading the other thread about this above, it looks like this type is already written:

https://code.dlang.org/packages/optional

I'd say use that.

-Steve

That could be useful actually

Reply via email to