C++:abnormal terminate std::stoi,空串
这个函数接受的参数是string对象
https://en.cppreference.com/w/cpp/string/basic_string/stol
根据文档是需要try catch exception,以避免不必要的terminate。
0x00000000000ad52c: std::rethrow_exception(std::__exception_ptr::exception_ptr) at ??:?
0x00000000000