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:19:5: error: call to 'foo' is ambiguous
    foo(Something<int>{});
    ^~~
prog.cc:8:5: note: candidate function [with TArgs = Something<int>]
    foo(TArgs && args);
    ^
prog.cc:15:1: note: candidate function [with TArgs = Something<int>]
foo(TArgs && args) { args.inner(1); }
^
1 error generated.
Exit Code:
1