Implicit conversion from null in custom type

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


On Thursday, 28 May 2015 at 13:12:18 UTC, Andrea Fontana wrote:
> void fun(typeof(null)) { }
>
> ?

That doesn't help with creating a drop-in replacement for an AA 
(or any built-in type implicitly convertible from null).


More information about the Digitalmars-d-learn mailing list