0_0_38933237_17131.cpp: In function 'int main()':
0_0_38933237_17131.cpp:29:24: error: no matching function for call to 'std::vector<int>::erase(std::vector<int>::iterator, std::vector<int>::iterator, std::vector<int>::iterator)'
29 | a.erase(a.begin(),a.end(),a.end());
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/vector:66,
from 0_0_38933237_17131.cpp:4:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_vector.h:1529:7: note: candidate: 'constexpr std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = int; _Alloc = std::allocator<int>; iterator = std::vector<int>::iterator; const_iterator = std::vector<int>::const_iterator]'
1529 | erase(const_iterator __position)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_vector.h:1529:7: note: candidate expects 1 argument, 3 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_vector.h:1557:7: note: candidate: 'constexpr std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = int; _Alloc = std::allocator<int>; iterator = std::vector<int>::iterator; const_iterator = std::vector<int>::const_iterator]'
1557 | erase(const_iterator __first, const_iterator __last)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_vector.h:1557:7: note: candidate expects 2 arguments, 3 provided
|