Initializer list not working with vector in Visual Studio 2012? [duplicate]

Visual Studio 2012 does not support initializer lists.

Well, it didn’t until the November 2012 CTP. Now it does, at least in an alpha state. Granted, this code still won’t work in it because they’re still putting initializer lists into the standard library itself.

Leave a Comment