We do not use boost::lexical_cast in this function to reduce module dependencies
| 18 | |
| 19 | // We do not use boost::lexical_cast in this function to reduce module dependencies |
| 20 | inline bool try_dec_convert(const char* s, std::size_t& res) noexcept { |
| 21 | char* end_ptr = 0; |
| 22 | res = std::strtoul(s, &end_ptr, 10); |
| 23 | return *end_ptr == '\0'; |
| 24 | } |
| 25 | |
| 26 | |
| 27 | }}} // namespace boost::stacktrace::detail |
no outgoing calls