Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test.cpp
- test.cpp(5) : error C2253: 'S<T>' : pure specifier or abstract override specifier only allowed on virtual function
- test.cpp(7) : see reference to class template instantiation 'S<T>' being compiled
- test.cpp(5) : error C2065: 'default' : undeclared identifier
- test.cpp(13) : see reference to class template instantiation 'S<T>' being compiled
- with
- [
- T=int
- ]
- test.cpp(5) : error C2253: 'S<int>' : pure specifier or abstract override specifier only allowed on virtual function
- test.cpp(15) : error C2784: 'void foo(S<T> &,const S<T> &)' : could not deduce template argument for 'const S<T> &' from 'int'
- test.cpp(10) : see declaration of 'foo'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement