i have a function that takes a reference vector bool checkSum(const vector<int>&,int,int&);
If the vector is passed as constant refrence, an error message that says
no match for âoperator=â in âiter = ((const std::vector<int, std::allocator<int> >*)vect)->std::vector<_Tp, _Alloc>::begin [with _Tp = int, _Alloc = std::allocator<int>]()....
how to make sure you pass a constant argument of vector in a function?