| 270 | } |
| 271 | |
| 272 | inline static bool AtoiAndCheck(const char* p, int* out) { |
| 273 | const char* after = Atoi(p, out); |
| 274 | if (*after != '\0') { |
| 275 | return false; |
| 276 | } |
| 277 | return true; |
| 278 | } |
| 279 | |
| 280 | inline static bool AtofAndCheck(const char* p, double* out) { |
| 281 | const char* after = Atof(p, out); |