| 518 | |
| 519 | template <typename OutputIterator> |
| 520 | OutputIterator OutputInt64AsString(int64_t i, OutputIterator output) { |
| 521 | uint64_t u = i; |
| 522 | if (i < 0) { |
| 523 | *output++ = '-'; |
| 524 | u = -i; |
| 525 | } |
| 526 | return OutputUInt64AsString(u, output); |
| 527 | } |
| 528 | |
| 529 | /////////////////////////////////////////////////////////////////////////// |
| 530 | // generic interface |
no test coverage detected