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" >< pre>< code> 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+ < /code>< /pre> </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" >< pre>< code> 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- - `& lt;ctime& gt;`
3703- - `& lt;cwchar& gt;`
3704-
3705- +## 例
3706- +```cpp example
3707- +#include & lt;cstddef& 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- < /code>< /pre> </summary >
3717-
3718- <author >
3719- <name >rotarymars</name >
3720- <email >s.goto2050@gmail.com</email >
3721- </author >
3722- </entry >
3723-
37243718</feed >
0 commit comments