Does std::stoi throw an error on the input "abcxyz" ? Yes. I think your confusion may come from the fact that strtol never reports an error except on ...
確定! 回上一頁