(1)运用value_type
std::map<std::string, float> col1; col1.insert(std::map<std::string,float>::value_type("aaa",22.3));
(2)运用pair<>
std::map<std::string, float> col1; col1.insert(std::pair<std::string,float>("aaa",22.3));
(3) 运用make_pair()
std::map<std::string, float> col1; col1.insert(std::make_pair("aaa",22.3));