From 59d89311369a4ee9b06ee84082a86ce6142efc0c Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 18 Jun 2017 10:53:45 -0400 Subject: [PATCH] Correct the return type of to_file_time(const sys_time& t) * The mapping between sys_time and file_time can occur at precisions coarser than a second because the only anticipated difference between these clocks is the epoch, and not the inclusion of leap seconds. --- d0355r3.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d0355r3.html b/d0355r3.html index 157f3f3..5e36755 100644 --- a/d0355r3.html +++ b/d0355r3.html @@ -37,7 +37,7 @@ Document number: D0355R3

Howard E. Hinnant
-2017-06-17
+2017-06-18

Extending <chrono> to Calendars and Time Zones

@@ -2727,7 +2727,7 @@ used for file_time_type ([filesystems]). It's epoch is unspecified
 template <class Duration>
-file_time<common_type_t<Duration, seconds>>
+file_time<Duration>
 to_file_time(const sys_time<Duration>& t);