Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Compiler

Options

Author

anonymous

about 7 years ago

$
prog.cc: In function 'int main()':
prog.cc:26:49: error: no match for 'operator!=' (operand types are 'Foo' and 'const char [7]')
     std::cout << "#3 is ok: " << (Foo{"ytrewq"} != "qwerty") << '\n';
                                   ~~~~~~~~~~~~~~^~~~~~~~~~~
Exit Code:
1