Skip to content

Commit eea7101

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 1af8c1a commit eea7101

File tree

4 files changed

+39
-41
lines changed

4 files changed

+39
-41
lines changed

lang/cpp11/attributes.html

Lines changed: 8 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="2025-04-03T04:51:18">
192-
2025年04月03日 04時51分18秒
191+
<span itemprop="datePublished" content="2025-04-24T01:37:34">
192+
2025年04月24日 01時37分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">yoh</span>
196+
<span itemprop="name">Akira Takahashi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -344,7 +344,11 @@ <h2><a href="#relative-page" id="relative-page">関連項目</a></h2>
344344
<ul>
345345
<li><a href="../cpp14/deprecated_attr.html">C++14 <code>[[deprecated]]</code>属性</a></li>
346346
<li><a href="../cpp17/maybe_unused.html">C++17 <code>[[maybe_unused]]</code>属性</a></li>
347-
<li><a href="../cpp17/nodiscard.html">C++17 <code>[[nodiscard]]</code>属性</a></li>
347+
<li><a href="../cpp17/nodiscard.html">C++17 <code>[[nodiscard]]</code>属性</a><ul>
348+
<li><a href="../cpp20/nodiscard_should_have_a_reason.html">C++20 <code>[[nodiscard]]</code>属性に理由となる文字列を付加できるようにする</a></li>
349+
<li><a href="../cpp20/nodiscard_for_constructors.html">C++20 <code>[[nodiscard]]</code>をコンストラクタのオーバーロードごとに付加できるようにする</a></li>
350+
</ul>
351+
</li>
348352
<li><a href="../cpp17/fallthrough.html">C++17 <code>[[fallthrough]]</code>属性</a></li>
349353
<li><a href="../cpp20/language_support_for_empty_objects.html">C++20 <code>[[no_unique_address]]</code>属性</a></li>
350354
<li><a href="../cpp20/likely_and_unlikely_attributes.html">C++20 <code>[[likely]]</code>, <code>[[unlikely]]</code>属性</a></li>

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">FwrhSAEdMuEuHDXvAseDSvZPOFtSaPh</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: 29 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,37 @@
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-24T01:32:14.547920</updated>
6-
<id>d0dcd167-f42c-47af-a5ee-46d4ad60e6cc</id>
5+
<updated>2025-04-24T01:41:18.518443</updated>
6+
<id>a959fe6c-fa49-44b4-ba0a-7150a89e44cc</id>
77

88

9+
<entry>
10+
<title>属性構文 [N2761] -- C++11 属性: 関連項目を追加</title>
11+
<link href="https://cpprefjp.github.io/lang/cpp11/attributes.html"/>
12+
<id>02e867582d0203c7f9b0fe217f505e28ebe746e1:lang/cpp11/attributes.md</id>
13+
<updated>2025-04-24T10:37:34+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/lang/cpp11/attributes.md b/lang/cpp11/attributes.md
16+
index ac564a646..89dc7c8e8 100644
17+
--- a/lang/cpp11/attributes.md
18+
+++ b/lang/cpp11/attributes.md
19+
@@ -168,6 +168,8 @@ C++11で採用されたもの以外で検討された以下の機能は、属性
20+
- [C++14 `[[deprecated]]`属性](/lang/cpp14/deprecated_attr.md)
21+
- [C++17 `[[maybe_unused]]`属性](/lang/cpp17/maybe_unused.md)
22+
- [C++17 `[[nodiscard]]`属性](/lang/cpp17/nodiscard.md)
23+
+ - [C++20 `[[nodiscard]]`属性に理由となる文字列を付加できるようにする](/lang/cpp20/nodiscard_should_have_a_reason.md)
24+
+ - [C++20 `[[nodiscard]]`をコンストラクタのオーバーロードごとに付加できるようにする](/lang/cpp20/nodiscard_for_constructors.md)
25+
- [C++17 `[[fallthrough]]`属性](/lang/cpp17/fallthrough.md)
26+
- [C++20 `[[no_unique_address]]`属性](/lang/cpp20/language_support_for_empty_objects.md)
27+
- [C++20 `[[likely]]`, `[[unlikely]]`属性](/lang/cpp20/likely_and_unlikely_attributes.md)
28+
&lt;/code&gt;&lt;/pre&gt;</summary>
29+
30+
<author>
31+
<name>Akira Takahashi</name>
32+
<email>faithandbrave@gmail.com</email>
33+
</author>
34+
</entry>
35+
936
<entry>
1037
<title>C++26 -- C++26: carries_dependency属性の削除を記載</title>
1138
<link href="https://cpprefjp.github.io/lang/cpp26.html"/>
@@ -3688,37 +3715,4 @@ index 000000000..febee00d6
36883715
</author>
36893716
</entry>
36903717

3691-
<entry>
3692-
<title>NULL -- reference/cstddef/null.md: Created sample program</title>
3693-
<link href="https://cpprefjp.github.io/reference/cstddef/null.html"/>
3694-
<id>06d798bc7c7a4d09d7a907cf3d53d3f63bbd2bf6:reference/cstddef/null.md</id>
3695-
<updated>2025-04-23T14:00:47+09:00</updated>
3696-
3697-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstddef/null.md b/reference/cstddef/null.md
3698-
index 4626fc22b..d7dc7f55f 100644
3699-
--- a/reference/cstddef/null.md
3700-
+++ b/reference/cstddef/null.md
3701-
@@ -20,6 +20,14 @@
3702-
- `&amp;lt;ctime&amp;gt;`
3703-
- `&amp;lt;cwchar&amp;gt;`
3704-
3705-
+## 例
3706-
+```cpp example
3707-
+#include &amp;lt;cstddef&amp;gt;
3708-
+int main() {
3709-
+ int* p = NULL;
3710-
+ delete p;
3711-
+}
3712-
+```
3713-
3714-
## 備考
3715-
C++03において、「ヌルポインタ定数」は「値が0になる整数定数式」と定義されていた。したがって、マクロ`NULL`の値として`0`や`0L`は規格に適合するが、`(void*)0`は整数定数式ではないため適合しない。
3716-
&lt;/code&gt;&lt;/pre&gt;</summary>
3717-
3718-
<author>
3719-
<name>rotarymars</name>
3720-
<email>s.goto2050@gmail.com</email>
3721-
</author>
3722-
</entry>
3723-
37243718
</feed>

sitemap.xml

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

3867938679
<url>
3868038680
<loc>https://cpprefjp.github.io/lang/cpp11/attributes.html</loc>
38681-
<lastmod>2025-04-03T13:51:18+09:00</lastmod>
38681+
<lastmod>2025-04-24T10:37:34+09:00</lastmod>
3868238682
<changefreq>daily</changefreq>
3868338683
<priority>0.7</priority>
3868438684
</url>

0 commit comments

Comments
 (0)