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:9:7: error: no matching member function for call to 'emplace_back'
    v.emplace_back({0});
    ~~^~~~~~~~~~~~
/opt/wandbox/clang-head/include/c++/v1/vector:701:19: note: candidate function not viable: requires 0 arguments, but 1 was provided
        reference emplace_back(_Args&&... __args);
                  ^
1 error generated.
Exit Code:
1