std::map<std::string, int> m = {
{"Marc G.", 123},
{"Zulija N.", 456},
{"John D.", 369}
};
In Xcode I have C++ Language Dialect set to "C++0x [-std=c++0x]" and C++ Standard Library set to "libc++ LLVM C++ Standard library with C++0X Support"
Do I need to set something else?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…