forked from HowardHinnant/date
Correct the return type of to_file_time(const sys_time<Duration>& 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.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
Document number: D0355R3<br/>
|
Document number: D0355R3<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
||||||
2017-06-17<br/>
|
2017-06-18<br/>
|
||||||
</address>
|
</address>
|
||||||
<hr/>
|
<hr/>
|
||||||
<h1>Extending <code><chrono></code> to Calendars and Time Zones</h1>
|
<h1>Extending <code><chrono></code> to Calendars and Time Zones</h1>
|
||||||
@@ -2727,7 +2727,7 @@ used for <code>file_time_type</code> ([filesystems]). It's epoch is unspecified
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
file_time<common_type_t<Duration, seconds>>
|
file_time<Duration>
|
||||||
to_file_time(const sys_time<Duration>& t);
|
to_file_time(const sys_time<Duration>& t);
|
||||||
</pre>
|
</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
Reference in New Issue
Block a user