Reading through the thread on templates, it got me thinking about when should I use pointers or references. As you may know I am currently at the stage learning about pointers.
The way I see it, as a novice, is that I should use references wherever possible unless I directly have to manipulate memory? So, on the whole, I would pass function parameters by reference, etc.
Is this correct or a very over simplistic view?
Thanks,
Darren.