L
levent
Hi,
Is it possible (with STL) to move the contents of a vector into a list?
Obviously this would be a linear complexity operation (number of
elements in vector), but is it possible to do this w/o copy
constructing every element into list and destructing the vector
contents?
Or, if you think this is a bad question, why is it so? (comments on
this would really help)
Is it possible (with STL) to move the contents of a vector into a list?
Obviously this would be a linear complexity operation (number of
elements in vector), but is it possible to do this w/o copy
constructing every element into list and destructing the vector
contents?
Or, if you think this is a bad question, why is it so? (comments on
this would really help)