| 108 | |
| 109 | template <typename u32> |
| 110 | inline bool is_code_point_valid(u32 cp) |
| 111 | { |
| 112 | return (cp <= CODE_POINT_MAX && !utf8::internal::is_surrogate(cp)); |
| 113 | } |
| 114 | |
| 115 | template <typename octet_iterator> |
| 116 | inline typename std::iterator_traits<octet_iterator>::difference_type |
no test coverage detected