0_0_31554599_20712.cpp: In function 'int main()':
0_0_31554599_20712.cpp:98:13: error: no match for 'operator==' (operand types are 'std::string {aka std::basic_string<char>}' and 'char')
if(t=='Q')
^
0_0_31554599_20712.cpp:98:13: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from 0_0_31554599_20712.cpp:27:
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_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::stack<_Tp, _Seq>'
if(t=='Q')
^
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++/stack:60,
from 0_0_31554599_20712.cpp:27:
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_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::deque<_Tp, _Alloc>'
if(t=='Q')
^
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++/stack:60,
from 0_0_31554599_20712.cpp:27:
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_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
if(t=='Q')
^
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++/stack:60,
from 0_0_31554599_20712.cpp:27:
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_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
if(t=='Q')
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_31554599_20712.cpp:26:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
operator==(const std::normal_distribution<_RealType>& __d1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
0_0_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::normal_distribution<_RealType>'
if(t=='Q')
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_31554599_20712.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template argument deduction/substitution failed:
0_0_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::vector<_Tp, _Alloc>'
if(t=='Q')
^
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_31554599_20712.cpp:21:
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_31554599_20712.cpp:98:15: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
if(t=='Q')
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_31554599_20712.cpp:21:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template argument deduction/substitution failed:
0_0_31554599_20712.cpp:98:15: note: mismatched types 'const _CharT*' and 'char'
if(t=='Q')
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_31554599_20712.cpp:21:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template argument deduction/substitution failed:
0_0_31554599_20712.cpp:98:15: note: mismatched types 'const _CharT*' and 'std::basic_string<char>'
if(t=='Q')
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_31554599_20712.cpp:21:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note: template argument deduction/substitution failed:
0_0_31554599_20712.cpp:98:15: note: mismatched ty
|