Does copying a (STL) list member of type string also copy the data?
Using the STL "list" class, I have created a list of things with type "string".
When I copy a list element to another list, is the actual data of the string also copied?
I think I understand that a string variable is a structure which (appears to) contains a pointer to the actual data and a length. Copying the string variable (structure) doesn't necessarily imply that the "pointed-to" data is also copied.
Micropanther (Wes Miller)