1 #ifndef INCLUDED_U5E_CODEPOINT_DECOMPOSITION 2 #define INCLUDED_U5E_CODEPOINT_DECOMPOSITION 6 #include <experimental/string_view> 8 #include <u5e/codepoint.hpp> 9 #include <u5e/props/compatibility_and_canonical_decomposition_mapping.hpp> 10 #include <u5e/utf32ne_string_view.hpp> 34 template <
typename PropResolver,
typename OutputStringType>
37 OutputStringType& output,
38 PropResolver& resolver) {
39 int const * mapping = resolver(input);
43 if (mapping == NULL) {
57 (std::experimental::basic_string_view<
int>(begin, count)
);
const_iterator codepoint_cbegin()
Native representation of a codepoint.
basic_encodedstring(const NativeString &s)
const_iterator codepoint_cend()
int codepoint_decomposition(const codepoint input, OutputStringType &output, PropResolver &resolver)
Perform codepoint by codepoint decomposition.
basic_encodedstring< u5e::utf32ne, std::experimental::basic_string_view< int > > utf32ne_string_view
A basic_encodedstring of utf32ne and basic_string_view<int>
codepoint_traits::int_type value