Can arrays return vectors?

What does it mean to have function that takes as parameters an array of int and the size of the array, and returns a vector? are there good examples anyone knows of?
The prototype of a function could look like this.
 
std::vector<int> getVector(int array[], int arraySize);
Topic archived. No new replies allowed.