So let's say I have an
std::vector<int> myVector;
and a function
myFunction(std::vector<int> parameter);
I want to be able to pass a subvector of myVector to myFunction without having to copy the elements over into a new vector first. Can this be done?