Le Wednesday 09 July 2008 12:35:10 mk, vous avez écrit : > vector<string> move_slice(vector<string>& vec, int start, int stop, int > dest)
I guess the point is to make a vector of referene to string if you don't want to copy string objects all around but just a word for an address each time. The signature should be : vector<string&> move_slice(vector<string&>& vec, int start, int stop, int dest) or vector<string*> move_slice(vector<string*>& vec, int start, int stop, int dest) -- _____________ Maric Michaud -- http://mail.python.org/mailman/listinfo/python-list