[libcxx-commits] [PATCH] D128577: [libc++][chrono] Implements formatter day.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 25 08:51:05 PDT 2022
Mordante added inline comments.
================
Comment at: libcxx/include/chrono:700
+// The time format and ostream functions use ostream which requires locale support.
+#if !defined(_LIBCPP_HAS_NO_LOCALIZATION) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)
+# include <__chrono/formatter.h>
----------------
As tested in D132284.
================
Comment at: libcxx/include/chrono:704
+# include <__chrono/parser_std_format_spec.h>
+# include <__chrono/statically_widen.h>
+#endif
----------------
The header can be unconditional again.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128577/new/
https://reviews.llvm.org/D128577
More information about the libcxx-commits
mailing list