My code:
#include <vector>
std::vector<std::string> keyNamesList = { "A", "B" };
Won't compile, getting the error:
No matching constructor for initialization of std::vector<std::string>
Which is weird, because I am using C++11 (Xcode LLVM) and the line above it which does compile is a std::vector<int> = { 1, 2 };
This has to work. Any thoughts?