【发布时间】:2019-10-19 04:36:00
【问题描述】:
我正在浏览一些代码,但无法弄清楚以下语法:
freq_table[field_pm_value] = map<string, int>();
我很困惑“map string, int()”这里发生了什么。 freq_table 的类型是
map<string, map<string, int> >& freq_table
完整代码是https://github.com/vishalsingh8989/Star-Cubing-Algorithm/blob/master/src/csvreader.cpp
谢谢
【问题讨论】:
标签: c++ dictionary vector stl c++-standard-library