In java this code works pretty good:
static void f(){
HashMap hm = new HashMap<>();
hm.put("string", 1234);
hm.put(2134, "string");
System.out.println(hm.get(2134));
System.out.println(hm.get("string"));
}
can i make this feature in c++? (maybe decltype hash and 3-dimensional container??)