diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 00:45:32 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 00:45:32 +0900 |
| commit | 89f18dde856894eef23dde77a9257655725ba843 (patch) | |
| tree | 73d5ea34e16655e524fd00b807d03450953061b6 /src/util.h | |
| parent | a879d75aaacce6c838b20c3c961b38182a1179b2 (diff) | |
Use nothrow version of parseInt, parseUInt and parseLLInt
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -262,14 +262,11 @@ bool isPowerOf(int num, int base); std::string secfmt(time_t sec); bool parseIntNoThrow(int32_t& res, const std::string& s, int base = 10); -int32_t parseInt(const std::string& s, int base = 10); // Valid range: [0, INT32_MAX] bool parseUIntNoThrow(uint32_t& res, const std::string& s, int base = 10); -uint32_t parseUInt(const std::string& s, int base = 10); bool parseLLIntNoThrow(int64_t& res, const std::string& s, int base = 10); -int64_t parseLLInt(const std::string& s, int base = 10); void parseIntSegments(SegList<int>& sgl, const std::string& src); |
