how can have vector output from functions in C++ code example Example: how to return a vector c++ std::vector<x>f();