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.
More Related Contents:
- How to enforce the ‘override’ keyword?
- Visual Studio support for new C / C++ standards?
- Why does this C++ snippet compile (non-void function does not return a value) [duplicate]
- What is “Expression SFINAE”?
- Resolution of std::chrono::high_resolution_clock doesn’t correspond to measurements
- Can’t pass temporary object as reference
- C++11 features in Visual Studio 2012
- Visual Studio 2012 __cplusplus and C++ 11
- C++11 inheriting constructors and access modifiers
- error C2679: binary ‘
- How do compilers treat variable length arrays
- std::to_string – more than instance of overloaded function matches the argument list
- How to convert char* to LPCWSTR?
- How do I compile for Windows XP with Visual Studio 2012?
- How to use _CRT_SECURE_NO_WARNINGS
- Variadic Template in VS 2012 (Visual C++ November 2012 CTP)
- Double delete in initializer_list vs 2013
- Is it valid to bind non-const lvalue-references to rvalues in C++ 11?(modified)
- Expand macro inside string literal
- std::thread::join() hangs if called after main() exits when using VS2012 RC
- how to specify vc11 lambda calling convention
- Visual Studio 2008 with c++11
- Explicit Return Type of Lambda
- How to include libraries in Visual Studio 2012?
- C++ – Why is boost::hash_combine the best way to combine hash-values?
- In C++, what categories (lvalue, rvalue, xvalue, etc.) can expressions that produce temporaries of class type fall into?
- Passing shared pointers as arguments
- what does __declspec(dllimport) really mean?
- “newly” installed visual studio returns 408 errors on blank program of type ‘cannot open source file “errno.h” ‘
- When can we omit the return type in a C++11 lambda?