[libcxx-commits] [libcxx] [libc++][chrono] Loads leap-seconds.list in tzdb. (PR #82113)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 16 05:59:32 PDT 2024
================
@@ -234,22 +231,23 @@ export namespace std {
using std::chrono::zoned_time;
using std::chrono::zoned_seconds;
+# endif // if 0
// [time.zone.leap], leap second support
using std::chrono::leap_second;
-# endif
-# ifdef _LIBCPP_ENABLE_EXPERIMENTAL
// [time.zone.link], class time_zone_link
using std::chrono::time_zone_link;
-# endif
-# if 0
+# if 0
----------------
mordante wrote:
Normally I agree that `#if 0` is bad practice. In this specific case I strongly disagree. This gives a good overview of our implementation status. The entire contents of these `inc` files matches the order of the synopsis. It has taken quite a bit of effort to create this. Removing them will very likely result in adding new entries in a different order.
https://github.com/llvm/llvm-project/pull/82113
More information about the libcxx-commits
mailing list