On Thu, 2005-06-09 at 18:14 +0200, stefan kersten wrote: > int access(std::vector<int> v, int i) > { > return v[i]; > }
At least you are making copy here, should be int access(std::vector<int> &v, int i) -- Jussi Laako <[EMAIL PROTECTED]>
On Thu, 2005-06-09 at 18:14 +0200, stefan kersten wrote: > int access(std::vector<int> v, int i) > { > return v[i]; > }
At least you are making copy here, should be int access(std::vector<int> &v, int i) -- Jussi Laako <[EMAIL PROTECTED]>