Is there a way to convert a vector to a pointer to a pointer (ptr-to-ptr).
Background:
I have an arbitrary length set of data stored in a vector. But I have a library of algorithms that accept ptr-to-ptr (for image array access). I need to get the data from my vector to a ptr-to-ptr. How is that possible?
If you have a function
void f(int **array)and a vectorstd::vector<int*> vectyou can call f like this:f(&vect[0]). Is this what you were looking for?