In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_23237994_6119.cpp:12:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of '_OutputIterator std::__set_intersection(_InputIterator1, _InputIterator1, _InputIterator2, _InputIterator2, _OutputIterator, _Compare) [with _InputIterator1 = std::_Rb_tree_const_iterator<long long int>; _InputIterator2 = std::_Rb_tree_const_iterator<long long int>; _OutputIterator = std::_Rb_tree_const_iterator<long long int>; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:5111:46: required from '_OIter std::set_intersection(_IIter1, _IIter1, _IIter2, _IIter2, _OIter) [with _IIter1 = std::_Rb_tree_const_iterator<long long int>; _IIter2 = std::_Rb_tree_const_iterator<long long int>; _OIter = std::_Rb_tree_const_iterator<long long int>]'
0_0_23237994_6119.cpp:52:84: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:5063:16: error: assignment of read-only location '__result.std::_Rb_tree_const_iterator<_Tp>::operator*<long long int>()'
*__result = *__first1;
^
|