Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Unicode is intended to be a universal character set for describing all the characters required for written text incorporating all writing systems, technical symbols and punctuation.
8
votes
UTF-8 to UTF-16 (char8_t string to char16_t string)
Good job on general organization: use of namespace and nested detail namespace, use of different sized char types, marking things with noexcept, etc.
Error: Why do you return false when the functio …
1
vote
Accepted
UTF-8 to UTF-16 using C++20 concepts and ranges
Looks like you really embraced it! Good show! I just have a few simple notes:
Being C++20, you don't need to define operator!= as well if operator== is defined.
::std::begin(range), ::std::end(range …
5
votes
Accepted
UTF-8 to UTF-16 (char8_t string to char16_t string)
suggested architecture
① decode UTF-8 stream
Construct with a range of UTF-8 encoded bytes, present the object as an iterator that provides complete 32-bit characters. It has another member function …