我不明白为什么我需要在std::copy()读取文件的调用中添加另一个迭代器作为第二个参数。文件的迭代器“结束”如何结束?
std::copy()
vector<Point> v; istream_iterator<Point> is(file), end; copy(is, end, back_inserter(v));
c++ iterator stl
c++ ×1
iterator ×1
stl ×1