`alias this` pointers and typeof(null)

Tomer Filiba via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 29 06:58:52 PST 2016


On Friday, 29 January 2016 at 13:59:15 UTC, Andrea Fontana wrote:
> What about this:
> http://dpaste.dzfl.pl/3305cdf8b7b4
> ?
>
> Andrea

Thanks Andrea, I thought about it but it requires duplicating all 
function signatures (and not in an automatic manner). Btw, you 
can also write ``void func(typeof(null) x) {}`` instead.



More information about the Digitalmars-d mailing list