Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

error message for index.cpp for polymorphism

By: a guest on Nov 4th, 2012  |  syntax: None  |  size: 0.34 KB  |  hits: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. index.cpp: In function ‘int main()’:
  2. index.cpp:36: error: ‘unique_ptr’ is not a member of ‘std’
  3. index.cpp:36: error: ‘unique_ptr’ is not a member of ‘std’
  4. index.cpp:36: error: ‘animals’ was not declared in this scope
  5. index.cpp:36: error: template argument 1 is invalid
  6. index.cpp:36: error: template argument 2 is invalid