- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
In file included from /usr/include/c++/5.5.0/string:52:0,
from /usr/include/c++/5.5.0/bits/locale_classes.h:40,
from /usr/include/c++/5.5.0/bits/ios_base.h:41,
from /usr/include/c++/5.5.0/ios:42,
from /usr/include/c++/5.5.0/ostream:38,
from /usr/include/c++/5.5.0/iostream:39,
from 1.cpp:1:
/usr/include/c++/5.5.0/bits/basic_string.h:5275:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/usr/include/c++/5.5.0/bits/basic_string.h:5275:5: note: template argument deduction/substitution failed:
1.cpp:16:18: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’