Make those time_point conversions which can be noexcept, noexcept

This commit is contained in:
Howard Hinnant committed 2016-10-12 19:48:07 -04:00
1 parent 2c16e09438
commit b2b1d520c5
2 files changed
+18 -18

No files matched your search

+6 -6
View File
@@ -2402,7 +2402,7 @@ second insertion), then the conversion counts that leap second as inserted.
<pre>
template &lt;class Duration&gt;
utc_time&lt;std::common_type_t&lt;Duration, std::chrono::seconds&gt;&gt;
to_utc_time(tai_time&lt;Duration&gt; t)
to_utc_time(tai_time&lt;Duration&gt; t) noexcept
</pre>
<blockquote>
<p>
@@ -2416,7 +2416,7 @@ to_utc_time(tai_time&lt;Duration&gt; t)
<pre>
template &lt;class Duration&gt;
utc_time&lt;std::common_type_t&lt;Duration, std::chrono::seconds&gt;&gt;
to_utc_time(gps_time&lt;Duration&gt; t)
to_utc_time(gps_time&lt;Duration&gt; t) noexcept
</pre>
<blockquote>
<p>
@@ -2508,7 +2508,7 @@ to_tai_time(sys_time&lt;Duration&gt; t)
<pre>
template &lt;class Duration&gt;
tai_time&lt;std::common_type_t&lt;Duration, std::chrono::seconds&gt;&gt;
to_tai_time(utc_time&lt;Duration&gt; u)
to_tai_time(utc_time&lt;Duration&gt; u) noexcept
</pre>
<blockquote>
<p>
@@ -2522,7 +2522,7 @@ to_tai_time(utc_time&lt;Duration&gt; u)
<pre>
template &lt;class Duration&gt;
tai_time&lt;typename std::common_type&lt;Duration, std::chrono::seconds&gt;::type&gt;
to_tai_time(gps_time&lt;Duration&gt; t)
to_tai_time(gps_time&lt;Duration&gt; t) noexcept
</pre>
<blockquote>
<p>
@@ -2618,7 +2618,7 @@ to_gps_time(sys_time&lt;Duration&gt; t)
<pre>
template &lt;class Duration&gt;
gps_time&lt;std::common_type_t&lt;Duration, std::chrono::seconds&gt;&gt;
to_gps_time(utc_time&lt;Duration&gt; u)
to_gps_time(utc_time&lt;Duration&gt; u) noexcept
</pre>
<blockquote>
<p>
@@ -2632,7 +2632,7 @@ to_gps_time(utc_time&lt;Duration&gt; u)
<pre>
template &lt;class Duration&gt;
gps_time&lt;typename std::common_type&lt;Duration, std::chrono::seconds&gt;::type&gt;
to_gps_time(tai_time&lt;Duration&gt; t)
to_gps_time(tai_time&lt;Duration&gt; t) noexcept
</pre>
<blockquote>
<p>