22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2024-12-21T04:07:35.701117 </updated >
6- <id >de998b6d-b81a-4016-867e-9e6d53966ea7 </id >
5+ <updated >2024-12-21T04:37:11.113273 </updated >
6+ <id >d80befa0-b0fd-4f1e-856a-b7a59583f6fc </id >
77
88
99 <entry >
@@ -286,40 +286,4 @@ index e8a75a55a..6a2d9e0d6 100644
286286 </author >
287287 </entry >
288288
289- <entry >
290- <title >宣言のみで使用しない変数の名前として_をサポート [P2169R4] -- fix typo</title >
291- <link href =" https://cpprefjp.github.io/lang/cpp26/nice_placeholder_with_no_name.html" />
292- <id >8def0da300f3370cce7815ec3476c5980576426d:lang/cpp26/nice_placeholder_with_no_name.md</id >
293- <updated >2024-12-21T10:54:48+09:00</updated >
294-
295- <summary type =" html" >< pre>< code> diff --git a/lang/cpp26/nice_placeholder_with_no_name.md b/lang/cpp26/nice_placeholder_with_no_name.md
296- index cb813a6b4..8e36638dc 100644
297- --- a/lang/cpp26/nice_placeholder_with_no_name.md
298- +++ b/lang/cpp26/nice_placeholder_with_no_name.md
299- @@ -20,7 +20,7 @@ std::mutex mux;
300- std::tuple& lt;T, U, V& gt; f();
301-
302- void f() {
303- - std::lock_gaurd guard{mux}; // デストラクタでの自動解放だけしたいのでguard変数はとくに使わない
304- + std::lock_guard guard{mux}; // デストラクタでの自動解放だけしたいのでguard変数はとくに使わない
305- auto [a, b, no_use] = f(); // 構造化束縛した一部の変数は使わない
306- }
307- ```
308- @@ -33,7 +33,7 @@ std::mutex mux;
309- std::tuple& lt;T, U, V& gt; f();
310-
311- void f() {
312- - std::lock_gaurd _{mux}; // OK
313- + std::lock_guard _{mux}; // OK
314- auto [a, b, _] = f(); // OK
315- }
316- ```
317- < /code>< /pre> </summary >
318-
319- <author >
320- <name >Akira Takahashi</name >
321- <email >faithandbrave@gmail.com</email >
322- </author >
323- </entry >
324-
325289</feed >
0 commit comments