#include <iostream> #include <string> int main() { std::string s{ "first","second" }; std::cout << s << std::endl; }
这个问题的灵感来自this.