c++ call return vector from function code example Example: how to return a vector c++ std::vector<x>f();