vector of strings initialization c 2b 2b

Solutions on MaxInterview for vector of strings initialization c 2b 2b by the best coders in the world

showing results for - "vector of strings initialization c 2b 2b"
Paolo
06 Apr 2019
1C++17 
2
3std::vector<std::string> v = { "xyzzy", "plugh", "abracadabra" };
4std::vector<std::string> v({ "xyzzy", "plugh", "abracadabra" });
5std::vector<std::string> v{ "xyzzy", "plugh", "abracadabra" };