| 105 | // Deprecated in versions that include prior, but only for the sake of consistency (see utf8::previous) |
| 106 | template <typename octet_iterator> |
| 107 | inline uint32_t previous(octet_iterator& it) |
| 108 | { |
| 109 | return utf8::unchecked::prior(it); |
| 110 | } |
| 111 | |
| 112 | template <typename octet_iterator, typename distance_type> |
| 113 | void advance (octet_iterator& it, distance_type n) |