News for hackers. Stuff that matters.
Re:Why should I use a pointer rather than the object itself? by Jonathan_Swift on Saturday March 08, 2014 @02:27PM (#7366054)
It's not always obvious. Quite commonly one is used when the other would be better, even by otherwise good coders.

To beat the subject completely to death:

Pointers, References and Values

Passing Parameters, Returning Results, and Storing Member Variables with Musings on Good C++ Style

http://www.warplife.com/tips/code/c++/memory-management/para...

There are no comments on this comment yet.