All pages tagged #cpp

C++ and the choice between references and pointers
09/30/20 • Carsten Haubold

Whether a function accepts a reference or a pointer as argument makes a difference - only the pointer can be nullptr