未插入到地图中
Insertion into map not happening
我们在Visual Studio应用程序中使用了map。在调试模式下,插入正常。但在释放模式下插入映射时,当控件传递以下代码行时,会引发以下异常"exe:0xC0000005:访问冲突读取位置0xcdcdcdd1时0x201a1cfd未处理的异常"。
"iterator _Where = this->lower_bound(_Keyval);"
mapped_type& operator[](const key_type& _Keyval)
{ // find element matching _Keyval or insert with default mapped
iterator _Where = this->lower_bound(_Keyval);
if (_Where == this->end()
|| this->comp(_Keyval, this->_Key(_Where._Mynode())))
_Where = this->insert(_Where,
value_type(_Keyval, mapped_type()));
return ((*_Where).second);
}
这段代码位于外部依赖项内的映射文件中。
请任何人提出解决方案..提前谢谢。
可能 My_DestPipeLines不是你想要的。向我们展示它的声明。
相关文章:
- 将一对插入地图并增加计数?
- 当我将其插入无序地图时,矢量的容量为 0
- 如何将元素插入到标准::地图的共享指针中?
- 无法插入到标准地图
- 为什么不插入地图?
- 为什么emplace_hint比插入地图慢?
- 地图插入(const_iterator提示,值)用法
- 无法将智能指针插入地图
- 插入到地图中,以对作为键并列出作为值
- 地图插入不明确
- VS 2017 错误 C2664 地图插入尝试
- 为什么通用参考概念不适用于函数指针的地图插入
- 地图插入将替换以前输入的值
- 地图插入密钥,但没有值
- 如何在CPU和内存中优化C 中的重型地图插入
- 我如何将MPL地图插入
- 地图::插入正在中断
- 我不明白地图插入上的此错误
- C++ 多重地图插入功能
- 地图插入返回错误答案的地图