| 111 | |
| 112 | template <typename T> |
| 113 | inline T unsigned_from_string(std::string s) |
| 114 | { |
| 115 | if (s.empty()) |
| 116 | throw bad_conversion(); |
| 117 | if (s[0] == '+') |
| 118 | { |
| 119 | s = s.substr(1); |
| 120 | } |
| 121 | return unsigned_digits_from_string<T>(s); |
| 122 | } |
| 123 | |
| 124 | template <typename T> |
| 125 | inline T signed_from_string(std::string s) |
nothing calls this directly
no test coverage detected