哪一个更好:
public:
const vector<int> & GetPointsVector();
private:
vector<int> PointsVector;
或者:
public:
int GetCurrentPoint();
void MoveToFirstPoint();
void MoveToNextPoint();
bool IsAtLastPoint();
size_t GetNumberOfPoints();
private:
vector<int> PointsVector;