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++/algorithm:61,
from 0_0_29978795_19083.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = std::pair<point, long long int>*; _Iterator2 = std::pair<point, long long int>*; _Compare = main()::<lambda(const auto:1&, const auto:2&)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1846:27: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<point, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<point, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<point, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<main()::<lambda(const auto:1&, const auto:2&)> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4716:78: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = std::pair<point, long long int>*; _Compare = main()::<lambda(const auto:1&, const auto:2&)>]'
0_0_29978795_19083.cpp:36:10: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:121:46: error: invalid use of 'auto'
{ return bool(_M_comp(*__it1, *__it2)); }
^
|