I'm guessing you're using Visual Studio. VS <2013 doesn't have initializer lists.
Possible i don't have latest c++11?
I am out dated ... 99$ for 2013 upgrade, too broke ATM for that.
I will make do with horrible syntax.
You can get the Visual Studio 2013 Expess edition for free if it fits your needs. You only have to register your email after 30 days to continue free usage for unlimited period.