On Sunday, 1 April 2018 at 22:25:45 UTC, Jonathan M Davis wrote:

How would a pointer help? Instead of doing

foo(nullable(42))

he'd have to do

foo(new int(42))

which is just one character shorter and ends up allocating on the heap, unlike with Nullable.

- Jonathan M Davis


foo(&x);


Reply via email to