From 382f60850d6b68778285b5726403c026aefbb052 Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Wed, 20 Jul 2022 17:57:08 +0200 Subject: [PATCH] Add TODO note about detail::is_utf8() --- include/fmt/ostream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index 1eb9fd74..4a0df987 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -121,6 +121,7 @@ inline bool write_ostream_gcc_mingw_unicode(std::wostream&, // It is a separate function rather than a part of vprint to simplify testing. template void write_buffer(std::basic_ostream& os, buffer& buf) { + // TODO: check detail::is_utf8(). Here or bellow in print or in vprint? #if FMT_MSC_VERSION if (write_ostream_msvc_unicode(os, {buf.data(), buf.size()})) return; #elif _WIN32 && __GLIBCXX__