News for hackers. Stuff that matters.
Re:Embracing Modern C++ Safely, Book Review by PaulDavisThe1st on Monday May 30, 2022 @11:22PM (#31565803)
> In this context this is usually equivalent to using a reference.

Not really. The very, very, very important difference is that the pointer can be null, signalling "no object". For some purposes, this is a critically important difference; in other cases, you should be passing a reference.

There are no comments on this comment yet.