Skip to content

调试程序出现bug #1

Description

@FightingZxw

您好,按照您的代码,调试还是出现了问题,您能帮忙解决下嘛?
问题如下:0x00007FFD7C31AFEC (ucrtbased.dll) (去雾test.exe 中)处有未经处理的异常: 将一个无效参数传递给了将无效参数视为严重错误的函数。` _NODISCARD _CONSTEXPR20_CONTAINER const _Ty& operator[](const size_type _Pos) const noexcept /* strengthened */ {
auto& _My_data = _Mypair._Myval2;
#if _CONTAINER_DEBUG_LEVEL > 0
_STL_VERIFY(
_Pos < static_cast<size_type>(_My_data._Mylast - _My_data._Myfirst), "vector subscript out of range");
#endif // _CONTAINER_DEBUG_LEVEL > 0

    return _My_data._Myfirst[_Pos];`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions