Mr-whoz
in toft/base/string/number_test.cpp TEST(StringNumber, StringToNumber) i add a line ASSERT_TRUE(StringToNumber("009", &i64)); then the test is fail. so the methed StringToNumber have bug
#136 · closed · 1 comments
in toft/base/string/number_test.cpp TEST(StringNumber, StringToNumber) i add a line ASSERT_TRUE(StringToNumber("009", &i64)); then the test is fail. so the methed StringToNumber have bug
啊,现在还有人用 c++11 之前的库吗?要不要 AI coding 一把升到 20? 这个不是 bug,因为 009 在 C/C++ 中是八进制数,只能由 0-7 组成。