Author
anonymous
almost 5 years ago
Language
Compiler
Options
Author
anonymous
almost 5 years ago
$
prog.cc: In function 'int main()':
prog.cc:6:31: error: use of deleted function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char8_t*) [with _Traits = std::char_traits<char>]'
6 | std::cout << "input: " << test << std::endl;
| ^~~~
In file included from /opt/wandbox/gcc-head/include/c++/11.0.0/iostream:39,
from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/11.0.0/ostream:640:5: note: declared here
640 | operator<<(basic_ostream<char, _Traits>&, const char8_t*) = delete;
| ^~~~~~~~
Exit Code:
1