1. 截取 vector 片段
vector<int> A; A.push_back(0); A.push_back(1); A.push_back(2); A.push_back(3); vector<int> B = vector<int>(A.begin() + 1, A.begin() + 3); // B 里面有俩个元素 1, 2