From 9a7b301507933ddb4a84a02b7d0c80bda9600f50 Mon Sep 17 00:00:00 2001
From: Howard Hinnant
Date: Mon, 26 Jun 2017 21:19:09 -0400
Subject: [PATCH] Give zoned_time a default constructor
---
tz.html | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tz.html b/tz.html
index 3a76718..7b4897f 100644
--- a/tz.html
+++ b/tz.html
@@ -1565,6 +1565,7 @@ public:
zoned_time(const zoned_time&) = default;
zoned_time& operator=(const zoned_time&) = default;
+ zoned_time();
zoned_time(sys_time<Duration> st);
explicit zoned_time(const time_zone* z);
explicit zoned_time(const std::string& name);
@@ -1642,6 +1643,17 @@ members.
+
+zoned_time<Duration>::zoned_time();
+
+
+
+Effects: Constructs a zoned_time
zt
such that
+zt.get_time_zone()->name() == "UTC"
, and
+zt.get_sys_time() == sys_seconds{}
.
+
+
+
zoned_time<Duration>::zoned_time(sys_time<Duration> st);