Implicit conversion from null in custom type

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 28 06:51:47 PDT 2015


On Thursday, 28 May 2015 at 13:46:52 UTC, Meta wrote:
> What about defining a static `nil` value for S?

Might as well just use S.init. Again, doesn't help with creating 
a drop-in replacement.


More information about the Digitalmars-d-learn mailing list