|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title> |
4 | 4 | <link href="https://cpprefjp.github.io" /> |
5 | | - <updated>2026-09-20T17:35:57.929751</updated> |
6 | | - <id>0b78c357-80fa-409c-ad1c-770e400d6afe</id> |
| 5 | + <updated>2026-09-21T13:04:52.521429</updated> |
| 6 | + <id>22dca0cc-9e0d-4691-8e6e-bf5a048ec814</id> |
7 | 7 |
|
8 | 8 |
|
| 9 | + <entry> |
| 10 | + <title>推論補助 -- set / multiset / unordered_set / unordered_multiset : GCCの最小バージョンを更新</title> |
| 11 | + <link href="https://cpprefjp.github.io/reference/set/multiset/op_deduction_guide.html"/> |
| 12 | + <id>824aa16e568956c79c49b21493cecd171abb1d6e:reference/set/multiset/op_deduction_guide.md</id> |
| 13 | + <updated>2026-09-21T22:02:48+09:00</updated> |
| 14 | + |
| 15 | + <summary type="html"><pre><code>diff --git a/reference/set/multiset/op_deduction_guide.md b/reference/set/multiset/op_deduction_guide.md |
| 16 | +index b059f3532..2f1dc43a6 100644 |
| 17 | +--- a/reference/set/multiset/op_deduction_guide.md |
| 18 | ++++ b/reference/set/multiset/op_deduction_guide.md |
| 19 | +@@ -87,7 +87,7 @@ int main() |
| 20 | + |
| 21 | + ### 処理系 |
| 22 | + - [Clang](/implementation.md#clang): 9.0.1 [mark verified] |
| 23 | +-- [GCC](/implementation.md#gcc): 9.1.0 [mark verified] |
| 24 | ++- [GCC](/implementation.md#gcc): 7.1.0 [mark verified] |
| 25 | + - [Visual C++](/implementation.md#visual_cpp): ?? |
| 26 | + |
| 27 | + |
| 28 | +</code></pre></summary> |
| 29 | + |
| 30 | + <author> |
| 31 | + <name>Akira Takahashi</name> |
| 32 | + <email>faithandbrave@gmail.com</email> |
| 33 | + </author> |
| 34 | + </entry> |
| 35 | + |
| 36 | + <entry> |
| 37 | + <title>推論補助 -- set / multiset / unordered_set / unordered_multiset : GCCの最小バージョンを更新</title> |
| 38 | + <link href="https://cpprefjp.github.io/reference/set/set/op_deduction_guide.html"/> |
| 39 | + <id>824aa16e568956c79c49b21493cecd171abb1d6e:reference/set/set/op_deduction_guide.md</id> |
| 40 | + <updated>2026-09-21T22:02:48+09:00</updated> |
| 41 | + |
| 42 | + <summary type="html"><pre><code>diff --git a/reference/set/set/op_deduction_guide.md b/reference/set/set/op_deduction_guide.md |
| 43 | +index 942cfcd72..3172ac836 100644 |
| 44 | +--- a/reference/set/set/op_deduction_guide.md |
| 45 | ++++ b/reference/set/set/op_deduction_guide.md |
| 46 | +@@ -87,7 +87,7 @@ int main() |
| 47 | + |
| 48 | + ### 処理系 |
| 49 | + - [Clang](/implementation.md#clang): 9.0.1 [mark verified] |
| 50 | +-- [GCC](/implementation.md#gcc): 9.1.0 [mark verified] |
| 51 | ++- [GCC](/implementation.md#gcc): 7.1.0 [mark verified] |
| 52 | + - [Visual C++](/implementation.md#visual_cpp): ?? |
| 53 | + |
| 54 | + |
| 55 | +</code></pre></summary> |
| 56 | + |
| 57 | + <author> |
| 58 | + <name>Akira Takahashi</name> |
| 59 | + <email>faithandbrave@gmail.com</email> |
| 60 | + </author> |
| 61 | + </entry> |
| 62 | + |
| 63 | + <entry> |
| 64 | + <title>推論補助 -- set / multiset / unordered_set / unordered_multiset : GCCの最小バージョンを更新</title> |
| 65 | + <link href="https://cpprefjp.github.io/reference/unordered_set/unordered_multiset/op_deduction_guide.html"/> |
| 66 | + <id>824aa16e568956c79c49b21493cecd171abb1d6e:reference/unordered_set/unordered_multiset/op_deduction_guide.md</id> |
| 67 | + <updated>2026-09-21T22:02:48+09:00</updated> |
| 68 | + |
| 69 | + <summary type="html"><pre><code>diff --git a/reference/unordered_set/unordered_multiset/op_deduction_guide.md b/reference/unordered_set/unordered_multiset/op_deduction_guide.md |
| 70 | +index 1e2ded42a..3276df456 100644 |
| 71 | +--- a/reference/unordered_set/unordered_multiset/op_deduction_guide.md |
| 72 | ++++ b/reference/unordered_set/unordered_multiset/op_deduction_guide.md |
| 73 | +@@ -138,7 +138,7 @@ int main() |
| 74 | + |
| 75 | + ### 処理系 |
| 76 | + - [Clang](/implementation.md#clang): 9.0.1 [mark verified] |
| 77 | +-- [GCC](/implementation.md#gcc): 9.1.0 [mark verified] |
| 78 | ++- [GCC](/implementation.md#gcc): 8.1.0 [mark verified] |
| 79 | + - [Visual C++](/implementation.md#visual_cpp): ?? |
| 80 | + |
| 81 | + |
| 82 | +</code></pre></summary> |
| 83 | + |
| 84 | + <author> |
| 85 | + <name>Akira Takahashi</name> |
| 86 | + <email>faithandbrave@gmail.com</email> |
| 87 | + </author> |
| 88 | + </entry> |
| 89 | + |
| 90 | + <entry> |
| 91 | + <title>推論補助 -- set / multiset / unordered_set / unordered_multiset : GCCの最小バージョンを更新</title> |
| 92 | + <link href="https://cpprefjp.github.io/reference/unordered_set/unordered_set/op_deduction_guide.html"/> |
| 93 | + <id>824aa16e568956c79c49b21493cecd171abb1d6e:reference/unordered_set/unordered_set/op_deduction_guide.md</id> |
| 94 | + <updated>2026-09-21T22:02:48+09:00</updated> |
| 95 | + |
| 96 | + <summary type="html"><pre><code>diff --git a/reference/unordered_set/unordered_set/op_deduction_guide.md b/reference/unordered_set/unordered_set/op_deduction_guide.md |
| 97 | +index 3a588d774..709aa02f2 100644 |
| 98 | +--- a/reference/unordered_set/unordered_set/op_deduction_guide.md |
| 99 | ++++ b/reference/unordered_set/unordered_set/op_deduction_guide.md |
| 100 | +@@ -134,7 +134,7 @@ int main() |
| 101 | + |
| 102 | + ### 処理系 |
| 103 | + - [Clang](/implementation.md#clang): 9.0.1 [mark verified] |
| 104 | +-- [GCC](/implementation.md#gcc): 9.1.0 [mark verified] |
| 105 | ++- [GCC](/implementation.md#gcc): 8.1.0 [mark verified] |
| 106 | + - [Visual C++](/implementation.md#visual_cpp): ?? |
| 107 | + |
| 108 | + |
| 109 | +</code></pre></summary> |
| 110 | + |
| 111 | + <author> |
| 112 | + <name>Akira Takahashi</name> |
| 113 | + <email>faithandbrave@gmail.com</email> |
| 114 | + </author> |
| 115 | + </entry> |
| 116 | + |
9 | 117 | <entry> |
10 | 118 | <title>flat_multimap -- flat_multimap : 例に<functional>のインクルードを追加</title> |
11 | 119 | <link href="https://cpprefjp.github.io/reference/flat_map/flat_multimap.html"/> |
@@ -146,48 +254,6 @@ index 1962f416f..ab4bdc41a 100644 |
146 | 254 |
|
147 | 255 | std::allocator&lt;int&gt; alloc; |
148 | 256 |
|
149 | | -</code></pre></summary> |
150 | | - |
151 | | - <author> |
152 | | - <name>rotarymars</name> |
153 | | - <email>s.goto2050@gmail.com</email> |
154 | | - </author> |
155 | | - </entry> |
156 | | - |
157 | | - <entry> |
158 | | - <title>reinterpret_pointer_cast -- reinterpret_pointer_cast : 厳密なエイリアシング規則に違反し処理系依存だった例を修正</title> |
159 | | - <link href="https://cpprefjp.github.io/reference/memory/shared_ptr/reinterpret_pointer_cast.html"/> |
160 | | - <id>ed06292450a12dc335dc8f152d96db663da54ae0:reference/memory/shared_ptr/reinterpret_pointer_cast.md</id> |
161 | | - <updated>2026-09-20T20:42:08+09:00</updated> |
162 | | - |
163 | | - <summary type="html"><pre><code>diff --git a/reference/memory/shared_ptr/reinterpret_pointer_cast.md b/reference/memory/shared_ptr/reinterpret_pointer_cast.md |
164 | | -index 85aa4a575..fcaa720d7 100644 |
165 | | ---- a/reference/memory/shared_ptr/reinterpret_pointer_cast.md |
166 | | -+++ b/reference/memory/shared_ptr/reinterpret_pointer_cast.md |
167 | | -@@ -50,14 +50,17 @@ namespace std { |
168 | | - |
169 | | - int main() |
170 | | - { |
171 | | -- // 互換性のある配列間の変換を行う |
172 | | -- std::shared_ptr&lt;std::int8_t[]&gt; p(new std::int8_t[4]{1, 1, 1, 1}); |
173 | | -- std::shared_ptr&lt;std::int32_t[]&gt; q = std::reinterpret_pointer_cast&lt;std::int32_t[]&gt;(p); |
174 | | -+ std::shared_ptr&lt;std::int32_t[]&gt; p(new std::int32_t[1]{0x01010101}); |
175 | | - |
176 | | -- std::int32_t r = q[0]; |
177 | | -+ // オブジェクト表現をunsigned charとして参照する。 |
178 | | -+ // unsigned charを介したアクセスはどのオブジェクトに対しても許容される |
179 | | -+ std::shared_ptr&lt;unsigned char[]&gt; q = std::reinterpret_pointer_cast&lt;unsigned char[]&gt;(p); |
180 | | - |
181 | | -- std::int32_t x = (1 &lt;&lt; 8) | (1 &lt;&lt; 16) | (1 &lt;&lt; 24) | 1; |
182 | | -- assert(r == x); |
183 | | -+ // 変換元と所有権を共有する |
184 | | -+ assert(q.get() == reinterpret_cast&lt;unsigned char*&gt;(p.get())); |
185 | | -+ assert(p.use_count() == 2); |
186 | | -+ |
187 | | -+ assert(q[0] == 1); |
188 | | - } |
189 | | - ``` |
190 | | - * std::reinterpret_pointer_cast[color ff0000] |
191 | 257 | </code></pre></summary> |
192 | 258 |
|
193 | 259 | <author> |
|
0 commit comments