how to return a vector in c++

std::vector<x>f();std::vector<X> f();