Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ g++ -std=c++0x enum.cpp
- enum.cpp: In function ‘std::ostream& operator<<(std::ostream&, const A&)’:
- enum.cpp:14:22: error: expected type-specifier
- enum.cpp:14:22: error: expected ‘>’
- enum.cpp:14:22: error: expected ‘(’
- enum.cpp:14:22: error: ‘underlying_type’ is not a member of ‘std’
- enum.cpp:14:44: error: expected primary-expression before ‘>’ token
- enum.cpp:14:45: error: ‘::type’ has not been declared
- enum.cpp:14:57: error: expected ‘)’ before ‘;’ token
Add Comment
Please, Sign In to add comment