SyntaxFix
Write A Post
Hire A Developer
Questions
Your Ubuntu definitely has a sufficiently recent version of g++. The flag to use is -std=c++0x.
g++
-std=c++0x