Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 8 years ago

Language

Compiler

Options

Author

anonymous

about 8 years ago

$
prog.cc:16:8: error: class template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list
struct X<typer<T, typename T::iterator>> {
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:16:8: error: redefinition of 'X'
prog.cc:8:8: note: previous definition is here
struct X { 
       ^
prog.cc:21:5: error: static_assert failed "!"
    static_assert(X<std::vector<int>>::value, "!");
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:22:5: error: static_assert failed "!"
    static_assert(X<std::array<int, 4>>::value, "!");
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
Exit Code:
1