| 96 | |
| 97 | template <typename octet_iterator> |
| 98 | uint32_t prior(octet_iterator& it) |
| 99 | { |
| 100 | while (utf8::internal::is_trail(*(--it))) ; |
| 101 | octet_iterator temp = it; |
| 102 | return utf8::unchecked::next(temp); |
| 103 | } |
| 104 | |
| 105 | // Deprecated in versions that include prior, but only for the sake of consistency (see utf8::previous) |
| 106 | template <typename octet_iterator> |
no test coverage detected