Skip to content

Commit fd6f3b1

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 4204299 commit fd6f3b1

File tree

4 files changed

+62
-63
lines changed

4 files changed

+62
-63
lines changed

reference/chrono/gps_clock.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-10-10T10:18:42">
192+
2024年10月10日 10時18分42秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">TatsukiKUROSAWA</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -223,7 +223,7 @@ <h2>概要</h2>
223223
<p>このクラスの<code><a href="gps_clock/now.html">now()</a></code>静的メンバ関数は、標準では<code>noexcept(false)</code>である。実装が<code>noexcept(true)</code>である保証をしない限り、このクラスはTrivialClock要件を満たさない。</p>
224224
<h3>エポック</h3>
225225
<p>クロックごとの初期時間 (内部的にカウンタがあれば値ゼロ) をエポックと呼ぶ。</p>
226-
<p><code>gps_clock</code>のエポックは、1980年1月16日 (この年の最初の日曜日) 0時0分0秒である。</p>
226+
<p><code>gps_clock</code>のエポックは、1980年1月6日 (この年の最初の日曜日) 0時0分0秒である。</p>
227227
<h3>うるう秒の扱い</h3>
228228
<p>このクロックではうるう秒は挿入されず、うるう秒の数だけ時間が進む。そのため、UTCにうるう秒が挿入されるたびに、UTCはGPSよりも1秒ずつずれていく。</p>
229229
<p>GPS時間とTAI時間は19秒ずれていて、このずれは時間が経過しても変わらない。GPS時間のエポックが<code><a href="year/op_y.html">1958y</a>/<a href="month_constants.html">January</a>/1</code>、TAI時間のエポックが<code><a href="year/op_y.html">1980y</a>/<a href="month_constants.html">January</a>/<a href="weekday_constants.html">Sunday</a>[1]</code>であるが、1958年から1970年までのオフセットが10秒と、1970年から1980年までに挿入されたうるう秒が9秒あるためだ。</p>

reference/chrono/make24.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h2>例</h2>
239239
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span> <span class="nb">false</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">0h</a></span><span class="p">);</span>
240240

241241
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">);</span>
242-
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">);</span>
242+
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mf">1f</span><span class="n">mWwcTXZHherTnYykUwjpkPALBrFdCeE</span><span class="p">);</span>
243243
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">15h</a></span><span class="p">);</span>
244244
<span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">11h</a></span><span class="p">,</span> <span class="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">23h</a></span><span class="p">);</span>
245245
<span class="p">}</span>

rss.xml

Lines changed: 56 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,64 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2024-10-10T08:47:04.409230</updated>
6-
<id>7a19d23a-7f43-496a-9497-5cd781468b85</id>
5+
<updated>2024-10-10T10:48:33.113984</updated>
6+
<id>8c88996c-f6a5-4700-afba-0e19bc59513f</id>
77

88

9+
<entry>
10+
<title>gps_clock -- Merge pull request #1352 from TatsukiKUROSAWA/patch-1</title>
11+
<link href="https://cpprefjp.github.io/reference/chrono/gps_clock.html"/>
12+
<id>2e90916aa5f0f75a3ff464940a1cfe5ec6123ea1:reference/chrono/gps_clock.md</id>
13+
<updated>2024-10-10T19:45:28+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/chrono/gps_clock.md b/reference/chrono/gps_clock.md
16+
index 2db96f1d6..a383403a7 100644
17+
--- a/reference/chrono/gps_clock.md
18+
+++ b/reference/chrono/gps_clock.md
19+
@@ -19,7 +19,7 @@ namespace std::chrono {
20+
### エポック
21+
クロックごとの初期時間 (内部的にカウンタがあれば値ゼロ) をエポックと呼ぶ。
22+
23+
-`gps_clock`のエポックは、1980年1月16日 (この年の最初の日曜日) 0時0分0秒である。
24+
+`gps_clock`のエポックは、1980年1月6日 (この年の最初の日曜日) 0時0分0秒である。
25+
26+
27+
### うるう秒の扱い
28+
&lt;/code&gt;&lt;/pre&gt;</summary>
29+
30+
<author>
31+
<name>Akira Takahashi</name>
32+
<email>[email protected]</email>
33+
</author>
34+
</entry>
35+
36+
<entry>
37+
<title>gps_clock -- gps_clockのエポックを修正</title>
38+
<link href="https://cpprefjp.github.io/reference/chrono/gps_clock.html"/>
39+
<id>2eda71691cdba406667c3bee7e0e4834918f381c:reference/chrono/gps_clock.md</id>
40+
<updated>2024-10-10T19:18:42+09:00</updated>
41+
42+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/chrono/gps_clock.md b/reference/chrono/gps_clock.md
43+
index 2db96f1d6..a383403a7 100644
44+
--- a/reference/chrono/gps_clock.md
45+
+++ b/reference/chrono/gps_clock.md
46+
@@ -19,7 +19,7 @@ namespace std::chrono {
47+
### エポック
48+
クロックごとの初期時間 (内部的にカウンタがあれば値ゼロ) をエポックと呼ぶ。
49+
50+
-`gps_clock`のエポックは、1980年1月16日 (この年の最初の日曜日) 0時0分0秒である。
51+
+`gps_clock`のエポックは、1980年1月6日 (この年の最初の日曜日) 0時0分0秒である。
52+
53+
54+
### うるう秒の扱い
55+
&lt;/code&gt;&lt;/pre&gt;</summary>
56+
57+
<author>
58+
<name>TatsukiKUROSAWA</name>
59+
<email>[email protected]</email>
60+
</author>
61+
</entry>
62+
963
<entry>
1064
<title>cpprefjp - C++日本語リファレンス -- スポンサー画像を原寸大より大きくしてしまっていたのを修正</title>
1165
<link href="https://cpprefjp.github.io/index.html"/>
@@ -263,59 +317,4 @@ index bebdacd05..f2e95b9e1 100644
263317
</author>
264318
</entry>
265319

266-
<entry>
267-
<title>初期化文での型の別名宣言を許可 [P2360R0] -- コメントの誤りを修正</title>
268-
<link href="https://cpprefjp.github.io/lang/cpp23/extend_init_statement_to_allow_alias_declaration.html"/>
269-
<id>f9d46be05c3582e2150173beadd51475358fb1f2:lang/cpp23/extend_init_statement_to_allow_alias_declaration.md</id>
270-
<updated>2024-10-07T18:18:58+09:00</updated>
271-
272-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/lang/cpp23/extend_init_statement_to_allow_alias_declaration.md b/lang/cpp23/extend_init_statement_to_allow_alias_declaration.md
273-
index 484797e3e..fac074117 100644
274-
--- a/lang/cpp23/extend_init_statement_to_allow_alias_declaration.md
275-
+++ b/lang/cpp23/extend_init_statement_to_allow_alias_declaration.md
276-
@@ -38,7 +38,7 @@ int main()
277-
std::cout &amp;lt;&amp;lt; x &amp;lt;&amp;lt; std::endl;
278-
}
279-
280-
- // C++20 : OK
281-
+ // C++20 : NG
282-
// C++23 : OK
283-
if (using T = int; T x = f()) {
284-
std::cout &amp;lt;&amp;lt; x &amp;lt;&amp;lt; std::endl;
285-
&lt;/code&gt;&lt;/pre&gt;</summary>
286-
287-
<author>
288-
<name>Raclamusi</name>
289-
<email>[email protected]</email>
290-
</author>
291-
</entry>
292-
293-
<entry>
294-
<title>format -- コード修飾を追加</title>
295-
<link href="https://cpprefjp.github.io/reference/chrono/format.html"/>
296-
<id>5d13ce90b81a3f49bec9aab0c6284ef829ae5edc:reference/chrono/format.md</id>
297-
<updated>2024-09-24T17:40:08+09:00</updated>
298-
299-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/chrono/format.md b/reference/chrono/format.md
300-
index 4871d0814..491b7d90c 100644
301-
--- a/reference/chrono/format.md
302-
+++ b/reference/chrono/format.md
303-
@@ -115,6 +115,9 @@ int main()
304-
std::cout &amp;lt;&amp;lt; std::format(&amp;#34;8. {:%A}&amp;#34;, now) &amp;lt;&amp;lt; std::endl; // 曜日の完全名
305-
}
306-
```
307-
+* std::chrono::system_clock[link /reference/chrono/system_clock.md]
308-
+* now()[link /reference/chrono/system_clock/now.md]
309-
+* std::chrono::time_point_cast[link /reference/chrono/time_point_cast.md]
310-
311-
### 出力例
312-
```
313-
&lt;/code&gt;&lt;/pre&gt;</summary>
314-
315-
<author>
316-
<name>Akira Takahashi</name>
317-
<email>[email protected]</email>
318-
</author>
319-
</entry>
320-
321320
</feed>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15424,7 +15424,7 @@
1542415424

1542515425
<url>
1542615426
<loc>https://cpprefjp.github.io/reference/chrono/gps_clock.html</loc>
15427-
<lastmod>2024-08-01T22:40:15+09:00</lastmod>
15427+
<lastmod>2024-10-10T19:45:28+09:00</lastmod>
1542815428
<changefreq>daily</changefreq>
1542915429
<priority>0.7</priority>
1543015430
</url>

0 commit comments

Comments
 (0)