我需要初始化一个静态const向量类成员...我试过了
static const vector<string> vr ({"2", "3", "4"});
static const vector<string> vr = {"2", "3", "4"};
static const vector<string> vr {"2", "3", "4"};
Run Code Online (Sandbox Code Playgroud)
他们不工作....
我和mingw一起使用eclipse(我启用了c ++ 11)