| 177 | /// Deprecated in versions that include "prior" |
| 178 | template <typename octet_iterator> |
| 179 | uint32_t previous(octet_iterator& it, octet_iterator pass_start) |
| 180 | { |
| 181 | octet_iterator end = it; |
| 182 | while (utf8::internal::is_trail(*(--it))) |
| 183 | if (it == pass_start) |
| 184 | throw invalid_utf8(*it); // error - no lead byte in the sequence |
| 185 | octet_iterator temp = it; |
| 186 | return utf8::next(temp, end); |
| 187 | } |
| 188 | |
| 189 | template <typename octet_iterator, typename distance_type> |
| 190 | void advance (octet_iterator& it, distance_type n, octet_iterator end) |
nothing calls this directly
no test coverage detected