Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ strings

Name: Anonymous 2012-11-20 15:55

Why do i want to pass strings by reference in c++?

As i understand it, a string object is just an object
that has one or several pointers to the heap.

So if i pass a string by value, it won't copy the entire string, just this handle object.
It's that cool?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List