================ @@ -147,8 +148,29 @@ class zoned_time { } && is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>) : zoned_time{__traits::locate_zone(__name), __zt, __c} {} + _LIBCPP_HIDE_FROM_ABI zoned_time& operator=(const sys_time<_Duration>& __tp) { + __tp_ = __tp; + return *this; + } + + _LIBCPP_HIDE_FROM_ABI zoned_time& operator=(const local_time<_Duration>& __tp) { + // TODO TZDB This seems wrong. + // Assigning a non-existant or abiguous time will throw and not satisfy ---------------- ldionne wrote:
```suggestion // Assigning a non-existent or ambiguous time will throw and not satisfy ``` Can you file a LWG issue about this? https://github.com/llvm/llvm-project/pull/95026 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits