Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:22:5: error: call to 'foo' is ambiguous
    foo(Something<int>{});
    ^~~
prog.cc:10:17: note: candidate function [with Args = <Something<int>>]
    friend auto foo(Args&&...);
                ^
prog.cc:17:6: note: candidate function [with Args = <Something<int>>]
auto foo(Args&&... args) {
     ^
1 error generated.
Exit Code:
1