You're viewing a comment by Peteris Krumins and its responses.

October 31, 2009, 15:54

Daniel, all c++ containers provide value (rather than reference) semantics. The std::vector is a c++ container therefore it has this semantics. It means that the values passed into it get copied internally.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "coding_163": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.