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:10:5: error: no matching function for call to 'f'
    f( Int<0>{} );
    ^
prog.cc:7:6: note: candidate template ignored: couldn't infer template argument 'T'
void f( U<N> ) { std::cout << N << std::endl; }
     ^
1 error generated.
Exit Code:
1