嗨,我想创建一个带有std :: map的typedef,但编译器返回以下错误:"erro:错误的模板参数数量(2,应为4)"
码:
typedef std::map<unsigned int, float> AcumulatorHash;
c++ stdmap
c++ ×1
stdmap ×1