Комментарии:
There should be a template specialization std::basic_string<codepoint> that stores the string internally like Python does (if possible use Latin1 bytes, if not then UCS2 and if that isn't possible UCS4/UTF-32) and iterates over code points like u32string would. "codepoint" would be a class that is basically a char32_t. Maybe you could give it more functionality, e.g. only allowing valid code points.
Ответитьthis is one of the most useful talks i have watched this year so far. kudos to the presenter.
ОтветитьExcellent intro and very competent. Recommended.
Ответить๋
Ответить