You're asking about pass-by-value versus pass-by-reference semantics. These links will answer your question....
Not exactly a tutorial, but SGI's STL documenation can be found <a href="http://www.sgi.com/tech/stl/">here</a>. This is the STL implementation used...
Separate names with a comma.