std::map<std::string,std::string> friends; friends["guo"] = "huang"; friends["yuang"] = "xiao";
时间: 2023-12-05 11:17:39 浏览: 85
LoFTR:“ LoFTR的代码
This code creates a std::map object named "friends" that maps string keys to string values. Two key-value pairs are added to the map: "guo" maps to "huang" and "yuang" maps to "xiao".
阅读全文