How to set value of an unordered map to number other than 0

后端 未结 0 1278
深忆病人
深忆病人 2020-11-28 17:55

When I declare an unordered map, then by default all the values are assigned to 0. But I want to assign all the values to say -1. Is there any way to do that?

For exa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题