Is it false positive containerOutOfBoundsIndexExpression error of cppcheck?

后端 未结 0 495
没有蜡笔的小新
没有蜡笔的小新 2020-12-16 03:18

I have the following code which I want to check with cppcheck tool:

void f()
{
    std::string str = "123";
    const char* end = &str[str.size(         


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