Advertisement
Guest User

Untitled

a guest
Jan 15th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. test.cpp
  2. test.cpp(5) : error C2253: 'S<T>' : pure specifier or abstract override specifier only allowed on virtual function
  3. test.cpp(7) : see reference to class template instantiation 'S<T>' being compiled
  4. test.cpp(5) : error C2065: 'default' : undeclared identifier
  5. test.cpp(13) : see reference to class template instantiation 'S<T>' being compiled
  6. with
  7. [
  8. T=int
  9. ]
  10. test.cpp(5) : error C2253: 'S<int>' : pure specifier or abstract override specifier only allowed on virtual function
  11. test.cpp(15) : error C2784: 'void foo(S<T> &,const S<T> &)' : could not deduce template argument for 'const S<T> &' from 'int'
  12. test.cpp(10) : see declaration of 'foo'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement