I get a error like this :
conversion from ‘void’ to non-scalar type ‘std::vector<int>’ requested
and this a function I get this error from:
vector<int> concat(vector<int> vector1, vector<int> vector2)
{
return vector1.insert(vector1.end(), vector2.begin(), vector2.end());
}
I used the insert() function from algorithm library.
std::vector<int>::iterator
isn't the same type asstd::vector<int>
.