Skip to content

Commit f3719a5

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 1181b09 commit f3719a5

File tree

6 files changed

+36
-94
lines changed

6 files changed

+36
-94
lines changed

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="mi">1L</span><span class="n">idmAotycqFwjmnNxngUPFBbXxXyYMpi</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>

reference/contracts/contract_violation.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<meta name="viewport" content="width=device-width,initial-scale=1">
2222
<meta name="keywords" content="
23-
C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,contract,class,std,future
23+
C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,contracts,class,std,future
2424
">
2525
<meta name="title" content="contract_violation - cpprefjp C++日本語リファレンス" />
2626
<meta itemprop="name" content="contract_violation - cpprefjp C++日本語リファレンス" />
@@ -68,7 +68,7 @@
6868

6969
</head>
7070
<body>
71-
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;contract&#34;], &#34;id-type&#34;: [&#34;class&#34;], &#34;namespace&#34;: [&#34;std&#34;], &#34;cpp&#34;: [&#34;future&#34;]}, &#34;sources&#34;: [], &#34;page_id&#34;: [&#34;reference&#34;, &#34;contracts&#34;, &#34;contract_violation&#34;]}">
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;contracts&#34;], &#34;id-type&#34;: [&#34;class&#34;], &#34;namespace&#34;: [&#34;std&#34;], &#34;cpp&#34;: [&#34;future&#34;]}, &#34;sources&#34;: [], &#34;page_id&#34;: [&#34;reference&#34;, &#34;contracts&#34;, &#34;contract_violation&#34;]}">
7272
<nav class="navbar navbar-default" role="navigation">
7373
<div class="container-fluid">
7474
<div class="navbar-header">
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-04-25T05:20:09">
192-
2025年04月25日 05時20分09秒
191+
<span itemprop="datePublished" content="2025-04-25T05:25:58">
192+
2025年04月25日 05時25分58秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -212,7 +212,7 @@
212212
<div class="row">
213213
<div class="col-sm-12 content-body">
214214

215-
<div class="identifier-type">class</div><div class="header">&lt;contract&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std">std::</span><span class="token">contract_violation</span><span class="cpp future" title="将来のC++として検討中">(将来のC++機能)</span></h1>
215+
<div class="identifier-type">class</div><div class="header">&lt;contracts&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std">std::</span><span class="token">contract_violation</span><span class="cpp future" title="将来のC++として検討中">(将来のC++機能)</span></h1>
216216
<div itemprop="articleBody"><p><div class="codehilite"><pre><span></span><code><span class="k">namespace</span> <span class="n">std</span> <span class="p">{</span>
217217
<span class="k">class</span> <span class="nc">contract_violation</span> <span class="p">{</span>
218218
<span class="k">public</span><span class="o">:</span>

rss.xml

Lines changed: 27 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,35 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-04-25T05:23:56.964476</updated>
6-
<id>6addb153-c535-4f02-ac07-32f9dff60486</id>
5+
<updated>2025-04-25T05:29:40.497240</updated>
6+
<id>3beb944d-41dc-457a-8bd5-d80505df5201</id>
77

88

9+
<entry>
10+
<title>contract_violation -- reference/contracts/contract_violation.md: Fixed meta header</title>
11+
<link href="https://cpprefjp.github.io/reference/contracts/contract_violation.html"/>
12+
<id>f9d79b2bc4bfc34638b6c66d24b6ae4cdf26179b:reference/contracts/contract_violation.md</id>
13+
<updated>2025-04-25T14:25:58+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/contracts/contract_violation.md b/reference/contracts/contract_violation.md
16+
index 9d0cea8eb..d54687744 100644
17+
--- a/reference/contracts/contract_violation.md
18+
+++ b/reference/contracts/contract_violation.md
19+
@@ -1,5 +1,5 @@
20+
# contract_violation
21+
-* contract[meta header]
22+
+* contracts[meta header]
23+
* class[meta id-type]
24+
* std[meta namespace]
25+
* future[meta cpp]
26+
&lt;/code&gt;&lt;/pre&gt;</summary>
27+
28+
<author>
29+
<name>rotarymars</name>
30+
<email>s.goto2050@gmail.com</email>
31+
</author>
32+
</entry>
33+
934
<entry>
1035
<title>contracts -- reference/contracts.md,reference/contracts/contract_violation.md: Fixed link</title>
1136
<link href="https://cpprefjp.github.io/reference/contracts.html"/>
@@ -1165,87 +1190,4 @@ index 000000000..9d0cea8eb
11651190
</author>
11661191
</entry>
11671192

1168-
<entry>
1169-
<title>int_fast64_t -- reference/cstdint/int_fast64_t.md: Created sample program</title>
1170-
<link href="https://cpprefjp.github.io/reference/cstdint/int_fast64_t.html"/>
1171-
<id>28c1ed525efc0316f248008b0f4fab431da3ac45:reference/cstdint/int_fast64_t.md</id>
1172-
<updated>2025-04-25T12:18:20+09:00</updated>
1173-
1174-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdint/int_fast64_t.md b/reference/cstdint/int_fast64_t.md
1175-
index 600ee1eff..de6d1bee6 100644
1176-
--- a/reference/cstdint/int_fast64_t.md
1177-
+++ b/reference/cstdint/int_fast64_t.md
1178-
@@ -16,6 +16,55 @@ namespace std {
1179-
1180-
[`int64_t`](int64_t.md)型が環境によっては定義されないため、そのような状況でこの型を使用する。
1181-
1182-
+## 例
1183-
+```cpp example
1184-
+#include &amp;lt;iostream&amp;gt;
1185-
+#include &amp;lt;cstdint&amp;gt;
1186-
+#include &amp;lt;type_traits&amp;gt;
1187-
+#include &amp;lt;limits&amp;gt;
1188-
+
1189-
+int main()
1190-
+{
1191-
+ // int_fast64_tの使用例
1192-
+ std::int_fast64_t value = 1234567890123456789LL;
1193-
+
1194-
+ // 値を出力
1195-
+ std::cout &amp;lt;&amp;lt; &amp;#34;value: &amp;#34; &amp;lt;&amp;lt; value &amp;lt;&amp;lt; std::endl;
1196-
+
1197-
+ // サイズを確認(処理系によって異なる可能性がある)
1198-
+ std::cout &amp;lt;&amp;lt; &amp;#34;size of int_fast64_t: &amp;#34; &amp;lt;&amp;lt; sizeof(std::int_fast64_t) &amp;lt;&amp;lt; &amp;#34; bytes&amp;#34; &amp;lt;&amp;lt; std::endl;
1199-
+
1200-
+ // 最小値と最大値
1201-
+ std::cout &amp;lt;&amp;lt; &amp;#34;minimum value: &amp;#34; &amp;lt;&amp;lt; std::numeric_limits&amp;lt;std::int_fast64_t&amp;gt;::min() &amp;lt;&amp;lt; std::endl;
1202-
+ std::cout &amp;lt;&amp;lt; &amp;#34;maximum value: &amp;#34; &amp;lt;&amp;lt; std::numeric_limits&amp;lt;std::int_fast64_t&amp;gt;::max() &amp;lt;&amp;lt; std::endl;
1203-
+
1204-
+ // int64_tとの比較
1205-
+ std::cout &amp;lt;&amp;lt; &amp;#34;int_fast64_t is the same as int64_t: &amp;#34;
1206-
+ &amp;lt;&amp;lt; std::is_same&amp;lt;std::int_fast64_t, std::int64_t&amp;gt;::value &amp;lt;&amp;lt; std::endl;
1207-
+
1208-
+ // 演算の例(オーバーフローに注意)
1209-
+ std::int_fast64_t a = 9000000000000000000LL;
1210-
+ std::int_fast64_t b = 1000000000000000000LL;
1211-
+ std::int_fast64_t sum = a + b; // 処理系によってはオーバーフローの可能性あり
1212-
+
1213-
+ std::cout &amp;lt;&amp;lt; &amp;#34;9000000000000000000 + 1000000000000000000 = &amp;#34; &amp;lt;&amp;lt; sum &amp;lt;&amp;lt; std::endl;
1214-
+
1215-
+ return 0;
1216-
+}
1217-
+```
1218-
+
1219-
+### 出力例
1220-
+```
1221-
+value: 1234567890123456789
1222-
+size of int_fast64_t: 8 bytes
1223-
+minimum value: -9223372036854775808
1224-
+maximum value: 9223372036854775807
1225-
+int_fast64_t is the same as int64_t: 0
1226-
+9000000000000000000 + 1000000000000000000 = -8446744073709551616
1227-
+```
1228-
+
1229-
+この出力例は特定の環境に依存しており、処理系によって異なる可能性があります。特に、`int_fast64_t`のサイズやオーバーフロー動作は処理系によって異なることがある。
1230-
+
1231-
## バージョン
1232-
### 言語
1233-
- C++11
1234-
@@ -25,3 +74,8 @@ namespace std {
1235-
- [GCC](/implementation.md#gcc): 4.7.0 [mark verified]
1236-
- [ICC](/implementation.md#icc): ??
1237-
- [Visual C++](/implementation.md#visual_cpp): 2010 [mark verified], 2012 [mark verified], 2013 [mark verified]
1238-
+
1239-
+## 参照
1240-
+- [`&amp;lt;cstdint&amp;gt;`](/reference/cstdint.md)
1241-
+- [`INT_FAST64_MIN`](int_fast64_min.md)
1242-
+- [`INT_FAST64_MAX`](int_fast64_max.md)
1243-
&lt;/code&gt;&lt;/pre&gt;</summary>
1244-
1245-
<author>
1246-
<name>rotarymars</name>
1247-
<email>s.goto2050@gmail.com</email>
1248-
</author>
1249-
</entry>
1250-
12511193
</feed>

sitemap.xml

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

3423434234
<url>
3423534235
<loc>https://cpprefjp.github.io/reference/contracts/contract_violation.html</loc>
34236-
<lastmod>2025-04-25T14:20:09+09:00</lastmod>
34236+
<lastmod>2025-04-25T14:25:58+09:00</lastmod>
3423734237
<changefreq>daily</changefreq>
3423834238
<priority>0.7</priority>
3423934239
</url>

static/crsearch/crsearch.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/crsearch/crsearch.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)