In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_26503612_14105.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Value = const MM; _Compare = bool (*)(MM&, MM&)]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:965:30: required from '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Tp = MM; _Compare = __gnu_cxx::__ops::_Iter_comp_val<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2515:47: required from 'void std::__merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Distance = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2785:13: required from 'void std::__inplace_stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4850:52: required from 'void std::__stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4920:51: required from 'void std::stable_sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = bool (*)(MM&, MM&)]'
0_0_26503612_14105.cpp:35:46: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:141:37: error: invalid initialization of reference of type 'MM&' from expression of type 'const MM'
{ return bool(_M_comp(*__it, __val)); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Val_comp_iter<_Compare>::operator()(_Value&, _Iterator) [with _Value = const MM; _Iterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = bool (*)(MM&, MM&)]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2054:30: required from '_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Tp = MM; _Compare = __gnu_cxx::__ops::_Val_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2524:47: required from 'void std::__merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Distance = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2785:13: required from 'void std::__inplace_stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4850:52: required from 'void std::__stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(MM&, MM&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4920:51: required from 'void std::stable_sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<MM*, std::vector<MM> >; _Compare = bool (*)(MM&, MM&)]'
0_0_26503612_14105.cpp:35:46: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:166:37: error: invalid initialization of reference of type 'MM&' from expression of type 'const MM'
{ return bool(_M_comp(__val, *__it)); }
^
|