LWS logo
Service temporarily under maintenance, in read-only mode. Please come back later.
C++
4.8.1 (g++)
4.8.0 (g++)
4.7.3 (g++)
4.7.2 (g++)
4.6.4 (g++)
4.6.3 (g++)
3.2 (clang++)
13.0.1 (Intel)
C
4.8.1 (gcc)
4.8.0 (gcc)
4.7.3 (gcc)
4.7.2 (gcc)
4.6.4 (gcc)
4.6.3 (gcc)
3.2 (clang)
13.0.1 (Intel)
Python
3.3.0
2.7.3
1.9.0 (PyPy)
Ruby
2.0.0
1.9.3
JS
V8 (3.15.11)
SpiderMonkey (1.8.5)
PHP
5.4.6
Lua
5.2.1
2.0.0 (LuaJit)
Perl
Perl6 (2013.02.1)
5.14.2
C#
2.10 (mono)
F#
3.0 (mono)
Nemerle
1.1.1018.0 (mono)
Go
4.8.1 (GCCGo)
4.8.0 (GCCGo)
4.7.2 (GCCGo)
1.0.3 (GoogleGo)
Rust
0.6
0.5
D
v2 (gdc-4.6.3)
v2 (dmd-2.060)
Fortran
4.8.1 (GFortran)
4.8.0 (GFortran)
4.7.2 (GFortran)
Haskell
7.4.2
Lisp
2.49 (clisp)
1.1.12 (sbcl)
Code Snippets
Standard
iostream & main() without args & using namespace std
for-loop
calc (2.7)
calc (3.x)
Hello world
factorial
Hello world
echo
factorial
Hello world
Hello world
factorial
factorial
foreach
factorial
Hello world
factorial
Hello world
iostream & main() with args & using namespace std
iostream & main() with args
iostream & main() without args
stdio + stdlib & main() without args
stdio + stdlib & main() with args
try - catch
for-loop
ctor-dtor tracer
time measure
TypeName demangler
Fibonacci
Hello world
Hello world
factorial
Hello world
Hello world
ctor-dtor tracer with R-value ctor using boost.move
Hello world
factorial
perl-6 factorial
line: 0, col: 0 lines: 0 0 symbols
changes: 0
stdin data
Output
Compilation finished with errors:
source.cpp: In function 'int main()':
source.cpp:32:23: error: no match for 'operator<<' in 'std::wcout << operator*(std::basic_string<_CharT, _Traits, _Alloc>, size_t) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int](5ul)'
source.cpp:32:23: note: candidates are:
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:106:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:106:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__ostream_type& (*)(std::basic_ostream<wchar_t>::__ostream_type&) {aka std::basic_ostream<wchar_t>& (*)(std::basic_ostream<wchar_t>&)}'
/usr/include/c++/4.7/ostream:115:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<wchar_t>]
/usr/include/c++/4.7/ostream:115:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__ios_type& (*)(std::basic_ostream<wchar_t>::__ios_type&) {aka std::basic_ios<wchar_t>& (*)(std::basic_ios<wchar_t>&)}'
/usr/include/c++/4.7/ostream:125:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:125:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::ios_base& (*)(std::ios_base&)'
/usr/include/c++/4.7/ostream:164:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:164:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long int'
/usr/include/c++/4.7/ostream:168:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:168:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long unsigned int'
/usr/include/c++/4.7/ostream:172:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:172:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'bool'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:93:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:93:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'short int'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:179:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:179:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'short unsigned int'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:107:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:107:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'int'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:190:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:190:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'unsigned int'
/usr/include/c++/4.7/ostream:199:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:199:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long long int'
/usr/include/c++/4.7/ostream:203:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:203:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long long unsigned int'
/usr/include/c++/4.7/ostream:218:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:218:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'double'
/usr/include/c++/4.7/ostream:222:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:222:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'float'
/usr/include/c++/4.7/ostream:230:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:230:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long double'
/usr/include/c++/4.7/ostream:243:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:243:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'const void*'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:121:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:121:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__streambuf_type* {aka std::basic_streambuf<wchar_t>*}'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:600:5: note: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Tp = std::basic_string<char16_t>] <near match>
/usr/include/c++/4.7/ostream:600:5: note: no known conversion for argument 1 from 'std::wostream {aka std::basic_ostream<wchar_t>}' to 'std::basic_ostream<wchar_t>&&'
/usr/include/c++/4.7/ostream:546:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
/usr/include/c++/4.7/ostream:546:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:541:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
/usr/include/c++/4.7/ostream:541:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:528:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
/usr/include/c++/4.7/ostream:528:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:323:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
/usr/include/c++/4.7/bits/ostream.tcc:323:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: cannot convert 'operator*(std::basic_string<_CharT, _Traits, _Alloc>, size_t) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int](5ul)' (type 'std::basic_string<char16_t>') to type 'const char*'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:511:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
/usr/include/c++/4.7/ostream:511:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'const _CharT*' and 'std::basic_string<char16_t>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:491:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
/usr/include/c++/4.7/ostream:491:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:486:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
/usr/include/c++/4.7/ostream:486:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:480:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
/usr/include/c++/4.7/ostream:480:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: mismatched types 'char' and 'wchar_t'
source.cpp:32:23: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:474:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
/usr/include/c++/4.7/ostream:474:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: cannot convert 'operator*(std::basic_string<_CharT, _Traits, _Alloc>, size_t) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int](5ul)' (type 'std::basic_string<char16_t>') to type 'char'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:469:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
/usr/include/c++/4.7/ostream:469:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: deduced conflicting types for parameter '_CharT' ('wchar_t' and 'std::basic_string<char16_t>')
In file included from /usr/include/c++/4.7/string:54:0,
from /usr/include/c++/4.7/bits/locale_classes.h:42,
from /usr/include/c++/4.7/bits/ios_base.h:43,
from /usr/include/c++/4.7/ios:43,
from /usr/include/c++/4.7/ostream:40,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/basic_string.h:2750:5: note: 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>&)
/usr/include/c++/4.7/bits/basic_string.h:2750:5: note: template argument deduction/substitution failed:
source.cpp:32:23: note: deduced conflicting types for parameter '_CharT' ('wchar_t' and 'char16_t')
source.cpp:33:22: error: no match for 'operator<<' in 'std::wcout << operator*(size_t, const std::basic_string<_CharT, _Traits, _Alloc>&) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int]((*(const std::basic_string<char16_t>*)(& us)))'
source.cpp:33:22: note: candidates are:
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:106:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:106:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__ostream_type& (*)(std::basic_ostream<wchar_t>::__ostream_type&) {aka std::basic_ostream<wchar_t>& (*)(std::basic_ostream<wchar_t>&)}'
/usr/include/c++/4.7/ostream:115:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<wchar_t>]
/usr/include/c++/4.7/ostream:115:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__ios_type& (*)(std::basic_ostream<wchar_t>::__ios_type&) {aka std::basic_ios<wchar_t>& (*)(std::basic_ios<wchar_t>&)}'
/usr/include/c++/4.7/ostream:125:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:125:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::ios_base& (*)(std::ios_base&)'
/usr/include/c++/4.7/ostream:164:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:164:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long int'
/usr/include/c++/4.7/ostream:168:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:168:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long unsigned int'
/usr/include/c++/4.7/ostream:172:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:172:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'bool'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:93:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:93:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'short int'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:179:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:179:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'short unsigned int'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:107:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:107:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'int'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:190:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:190:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'unsigned int'
/usr/include/c++/4.7/ostream:199:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:199:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long long int'
/usr/include/c++/4.7/ostream:203:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:203:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long long unsigned int'
/usr/include/c++/4.7/ostream:218:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:218:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'double'
/usr/include/c++/4.7/ostream:222:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:222:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'float'
/usr/include/c++/4.7/ostream:230:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:230:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'long double'
/usr/include/c++/4.7/ostream:243:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<wchar_t>]
/usr/include/c++/4.7/ostream:243:7: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'const void*'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:121:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<wchar_t>]
/usr/include/c++/4.7/bits/ostream.tcc:121:5: note: no known conversion for argument 1 from 'std::basic_string<char16_t>' to 'std::basic_ostream<wchar_t>::__streambuf_type* {aka std::basic_streambuf<wchar_t>*}'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:600:5: note: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Tp = std::basic_string<char16_t>] <near match>
/usr/include/c++/4.7/ostream:600:5: note: no known conversion for argument 1 from 'std::wostream {aka std::basic_ostream<wchar_t>}' to 'std::basic_ostream<wchar_t>&&'
/usr/include/c++/4.7/ostream:546:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
/usr/include/c++/4.7/ostream:546:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:541:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
/usr/include/c++/4.7/ostream:541:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:528:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
/usr/include/c++/4.7/ostream:528:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/ostream:607:0,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/ostream.tcc:323:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
/usr/include/c++/4.7/bits/ostream.tcc:323:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: cannot convert 'operator*(size_t, const std::basic_string<_CharT, _Traits, _Alloc>&) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int]((*(const std::basic_string<char16_t>*)(& us)))' (type 'std::basic_string<char16_t>') to type 'const char*'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:511:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
/usr/include/c++/4.7/ostream:511:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'const _CharT*' and 'std::basic_string<char16_t>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:491:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
/usr/include/c++/4.7/ostream:491:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:486:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
/usr/include/c++/4.7/ostream:486:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:480:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
/usr/include/c++/4.7/ostream:480:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: mismatched types 'char' and 'wchar_t'
source.cpp:33:22: note: 'std::wostream {aka std::basic_ostream<wchar_t>}' is not derived from 'std::basic_ostream<char, _Traits>'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:474:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
/usr/include/c++/4.7/ostream:474:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: cannot convert 'operator*(size_t, const std::basic_string<_CharT, _Traits, _Alloc>&) [with Char = char16_t; Traits = std::char_traits<char16_t>; Allocator = std::allocator<char16_t>; size_t = long unsigned int]((*(const std::basic_string<char16_t>*)(& us)))' (type 'std::basic_string<char16_t>') to type 'char'
In file included from /usr/include/c++/4.7/iostream:40:0,
from source.cpp:1:
/usr/include/c++/4.7/ostream:469:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
/usr/include/c++/4.7/ostream:469:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: deduced conflicting types for parameter '_CharT' ('wchar_t' and 'std::basic_string<char16_t>')
In file included from /usr/include/c++/4.7/string:54:0,
from /usr/include/c++/4.7/bits/locale_classes.h:42,
from /usr/include/c++/4.7/bits/ios_base.h:43,
from /usr/include/c++/4.7/ios:43,
from /usr/include/c++/4.7/ostream:40,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/bits/basic_string.h:2750:5: note: 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>&)
/usr/include/c++/4.7/bits/basic_string.h:2750:5: note: template argument deduction/substitution failed:
source.cpp:33:22: note: deduced conflicting types for parameter '_CharT' ('wchar_t' and 'char16_t')