C++函数返回空的vector return vector<string>(); 或者:(C++11) return {}; 参考:https://stackoverflow.com/questions/24175507/return-an-empty-vector-c