Guest User

http://stackoverflow.com/a/11421489/72321

a guest
May 17th, 2013
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. $ g++ -std=c++0x enum.cpp
  2. enum.cpp: In function ‘std::ostream& operator<<(std::ostream&, const A&)’:
  3. enum.cpp:14:22: error: expected type-specifier
  4. enum.cpp:14:22: error: expected ‘>
  5. enum.cpp:14:22: error: expected ‘(
  6. enum.cpp:14:22: error: ‘underlying_type’ is not a member of ‘std’
  7. enum.cpp:14:44: error: expected primary-expression before ‘>’ token
  8. enum.cpp:14:45: error: ‘::type’ has not been declared
  9. enum.cpp:14:57: error: expected ‘)’ before ‘;’ token
Add Comment
Please, Sign In to add comment