fix: fix all old usage of UTF8 in std::ostream.
- use patch stream instead of all old use of UTF8 in std::ostream (reinterpret way).
This commit is contained in:
@@ -6,11 +6,10 @@
|
||||
* @brief This namespace add UTF8 support for \c std::ostream.
|
||||
* @details
|
||||
* The operator overloads written in this namespace will give \c std::ostream ability to write UTF8 string and its char.
|
||||
* For using this feature, please directly use <TT>using namespace yycc::patch:stream;</TT> to import this namespace.
|
||||
* For using this feature, please directly use <TT>using namespace yycc::patch::stream;</TT> to import this namespace.
|
||||
*/
|
||||
namespace yycc::patch::stream {
|
||||
|
||||
// TODO: fix all REINTERPRET::as_ordinary_view polyfill for std::ostream.
|
||||
// TODO: replace all old way (C-style output) with this new way if possible.
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const std::u8string_view& u8str);
|
||||
|
||||
Reference in New Issue
Block a user