Is there a way to construct a vector as the concatenation of 2 vectors (Other than creating a helper function?)
vector
For example:
class Vector : public vector { public: Vector operator+(const Vector& vec); }; Vector Vector::operator+(const Vector& vec) { for (int i = 0; i < vec.size(); i++) { this->push_back(vec[i]); } return *this; }