0_0_37955919_3604.cpp: In function 'void init()':
0_0_37955919_3604.cpp:536:15: error: expected unqualified-id before '[' token
for (auto [x, y] : b) {
^
0_0_37955919_3604.cpp:536:15: error: expected ';' before '[' token
0_0_37955919_3604.cpp:536:16: error: 'x' was not declared in this scope
for (auto [x, y] : b) {
^
0_0_37955919_3604.cpp:536:19: error: 'y' was not declared in this scope
for (auto [x, y] : b) {
^
0_0_37955919_3604.cpp: In lambda function:
0_0_37955919_3604.cpp:536:22: error: expected '{' before ':' token
for (auto [x, y] : b) {
^
0_0_37955919_3604.cpp: In function 'void init()':
0_0_37955919_3604.cpp:536:22: error: expected ';' before ':' token
0_0_37955919_3604.cpp:536:22: error: expected primary-expression before ':' token
0_0_37955919_3604.cpp:536:22: error: expected ')' before ':' token
0_0_37955919_3604.cpp:536:22: error: expected primary-expression before ':' token
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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37955919_3604.cpp:1:
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 = P*; _Iterator2 = P*; _Compare = minRectCover(const std::vector<P>&)::<lambda(auto:1&, auto:2&)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:5414:30: required from '_ForwardIterator std::__min_element(_ForwardIterator, _ForwardIterator, _Compare) [with _ForwardIterator = P*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<minRectCover(const std::vector<P>&)::<lambda(auto:1&, auto:2&)> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:5462:47: required from '_FIter std::min_element(_FIter, _FIter, _Compare) [with _FIter = P*; _Compare = minRectCover(const std::vector<P>&)::<lambda(auto:1&, auto:2&)>]'
0_0_37955919_3604.cpp:383:6: 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)); }
^
|