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