小编Ale*_*dro的帖子

"错误的模板参数数量(2,应该是4)"错误与std :: map和typedef

嗨,我想创建一个带有std :: map的typedef,但编译器返回以下错误:"erro:错误的模板参数数量(2,应为4)"

码:

typedef std::map<unsigned int, float> AcumulatorHash;
Run Code Online (Sandbox Code Playgroud)

c++ stdmap

1
推荐指数
1
解决办法
5127
查看次数

标签 统计

c++ ×1

stdmap ×1