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(