[libcxx-commits] [libcxx] [libc++][TZDB] Adds basics of zoned_time class. (PR #94999)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 11 12:01:32 PDT 2024


================
@@ -789,6 +789,10 @@ strong_ordering operator<=>(const time_zone& x, const time_zone& y) noexcept;
 // [time.zone.zonedtraits], class template zoned_traits
 template<class T> struct zoned_traits;                                           // C++20
 
+// [time.zone.zonedtime], class template zoned_time
+template<class Duration, class TimeZonePtr = const time_zone*>                   // C++20
+class zoned_time;
+
----------------
ldionne wrote:

I think you're missing `#include <__chrono/zoned_time.h>` below.

https://github.com/llvm/llvm-project/pull/94999


More information about the libcxx-commits mailing list