#include <iostream>
#include <unordered_map>
#include <string>
int main()
{
std::unordered_map<std::string, float> u_map{ { "jp", 0.15 }, { "pi", 3.14 } };
for (const auto& elem : u_map) {
std::cout << elem.first << ": " << elem.second << std::endl;
}
return 0;
}
/*
run:
jp: 0.15
pi: 3.14
*/