0_0_15179508_25996.cpp: In function 'int main()':
0_0_15179508_25996.cpp:149:24: error: no match for 'operator=' (operand types are 'std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}' and 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}')
it1=st.rend();
^
0_0_15179508_25996.cpp:149:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from 0_0_15179508_25996.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: std::_Rb_tree_const_iterator<int>& std::_Rb_tree_const_iterator<int>::operator=(const std::_Rb_tree_const_iterator<int>&)
struct _Rb_tree_const_iterator
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: no known conversion for argument 1 from 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}' to 'const std::_Rb_tree_const_iterator<int>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: std::_Rb_tree_const_iterator<int>& std::_Rb_tree_const_iterator<int>::operator=(std::_Rb_tree_const_iterator<int>&&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: no known conversion for argument 1 from 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}' to 'std::_Rb_tree_const_iterator<int>&&'
0_0_15179508_25996.cpp:155:24: error: no match for 'operator=' (operand types are 'std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}' and 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}')
it1=st.rend();
^
0_0_15179508_25996.cpp:155:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from 0_0_15179508_25996.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: std::_Rb_tree_const_iterator<int>& std::_Rb_tree_const_iterator<int>::operator=(const std::_Rb_tree_const_iterator<int>&)
struct _Rb_tree_const_iterator
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: no known conversion for argument 1 from 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}' to 'const std::_Rb_tree_const_iterator<int>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: std::_Rb_tree_const_iterator<int>& std::_Rb_tree_const_iterator<int>::operator=(std::_Rb_tree_const_iterator<int>&&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:242:12: note: no known conversion for argument 1 from 'std::set<int>::reverse_iterator {aka std::reverse_iterator<std::_Rb_tree_const_iterator<int> >}' to 'std::_Rb_tree_const_iterator<int>&&'
|