| 309 | |
| 310 | template <typename VALUE> |
| 311 | bool StringToIntImpl(const StringPiece& input, VALUE* output) { |
| 312 | return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke( |
| 313 | input.begin(), input.end(), output); |
| 314 | } |
| 315 | |
| 316 | template <typename VALUE, int BASE> |
| 317 | class StringPiece16ToNumberTraits |
no test coverage detected