the following code does not compile with Visual Studio 2013 while it should:
class A
{
A() :m_array{ 0, 1, 2 } {} // error C2536: 'A::A::m_array' : cannot specify explicit initializer for arrays
private:
int m_array[3];
};
See bug report for more details.
What are the possible workarounds?