| 186 | |
| 187 | template <size_t BUFFER_SIZE> |
| 188 | std::string_view ViewDigitBuffer(const std::array<char, BUFFER_SIZE>& buffer, |
| 189 | char* cursor) { |
| 190 | auto buffer_end = buffer.data() + BUFFER_SIZE; |
| 191 | return {cursor, static_cast<size_t>(buffer_end - cursor)}; |
| 192 | } |
| 193 | |
| 194 | template <typename Int, typename UInt = typename std::make_unsigned<Int>::type> |
| 195 | constexpr UInt Abs(Int value) { |
no test coverage detected