error: cannot converst 'std::vector<int, std::allocator<int> >' to 'std::vector<int, std::allocator<int> >*' for argument '1' to 'void(...)'

Well, he cannot convert a vector to a pointer to itself, as it is passed to the void function, where I wish to manipulate it....

I wish to operate on a vector containing about 20. mill numbers in my k_merge_sort implementation...

My choice was to use vectors for storage and pass the pointers to the functions, since I proceeed recursively and it would be a mess to pass the specific values.

Any ideas??

>>Any ideas??
Post the code that is giving the errors. We are not mind readers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.