[Issue 1547] Default parameter values should use implicit static opCall
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 24 11:51:25 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=1547
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #4 from Nick Treleaven <nick at geany.org> ---
(In reply to Bill Baxter from comment #0)
> void foo(Struct s = null)
Nice that this is now allowed, is it possible to also allow calling foo(null)?
Then structs could be a drop-in replacement for pointers, but doing some extra
checks on certain operations.
--
More information about the Digitalmars-d-bugs
mailing list