I am learning c++, recently i read a book which gives a suggestion that you should use reference to const when possible (if base object will not be changed).
I have a question that should you pass reference to const pointer instead of const pointer, when possible, as reference prevents copied. If not when should i use reference to const pointer.
e.g:
Node(..., Node *const next = nullptr);
OR
Node(..., Node* const& next = nullptr);