The support for C+11 is experimental and has to be turned on with a compiler switch. This page describes the alternatives.
I used -std=c++11

which I set in the Project Settings dialog. Common Settings / Compiler / C++ Compiler Options, like this:

I also made the compiler switch available to all build configurations by adding to the Build Settings dialog which is on the Settings option of the main menu:
