0_0_33554752_4806.cpp: In lambda function:
0_0_33554752_4806.cpp:62:19: error: expected '{' before '==' token
if([i]==0){
^
0_0_33554752_4806.cpp: In function 'int main()':
0_0_33554752_4806.cpp:62:19: error: no match for 'operator==' (operand types are 'main()::<lambda()>' and 'int')
0_0_33554752_4806.cpp:62:19: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:62:0,
from 0_0_33554752_4806.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:777:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
operator==(const multiset<_Key, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:777:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
from 0_0_33554752_4806.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:793:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
operator==(const set<_Key, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:793:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from 0_0_33554752_4806.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:246:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::stack<_Tp, _Seq>&, const std::stack<_Tp, _Seq>&)
operator==(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:246:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::stack<_Tp, _Seq>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
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_33554752_4806.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
if([i]==0){
^
In file included from 0_0_33554752_4806.cpp:8:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2511:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2511:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: cannot convert '<lambda closure object>main()::<lambda()>{i}' (type 'main()::<lambda()>') to type 'std::nullptr_t'
if([i]==0){
^
In file included from 0_0_33554752_4806.cpp:8:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2505:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2505:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_33554752_4806.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:271:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&)
operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:271:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::queue<_Tp, _Seq>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_33554752_4806.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:2029:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
operator==(const deque<_Tp, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:2029:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::deque<_Tp, _Alloc>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_33554752_4806.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:258:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
operator==(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:258:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_33554752_4806.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:251:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
operator==(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:251:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:62:0,
from 0_0_33554752_4806.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:903:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:903:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
if([i]==0){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_33554752_4806.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:1000:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:1000:5: note: template argument deduction/substitution failed:
0_0_33554752_4806.cpp:62:21: note: 'main()::<lambda()>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
if([i]==0){
^
In file included from
|