Source code is if (argument[i] == '\\' && i < argument.size()-1) ++i; Maybe better code might be if ( i < argument.size()-1 && argument[i] == '\\') ++i; Reproducible: Always
Thanks for your idea.