22<feed xmlns="http://www.w3.org/2005/Atom">
33 <title>cpprefjp - C++日本語リファレンス</title>
44 <link href="https://cpprefjp.github.io" />
5- <updated>2025-07-12T05:57:20.905752 </updated>
6- <id>02818e99-cd7b-4517-8e22-04728c34705b </id>
5+ <updated>2025-07-12T07:09:53.756504 </updated>
6+ <id>029d22ba-cea7-41f1-87ad-04899c2108e1 </id>
77
88
9+ <entry>
10+ <title>ラムダ式 [N2927] -- コード中の非ASCII文字を修正</title>
11+ <link href="https://cpprefjp.github.io/lang/cpp11/lambda_expressions.html"/>
12+ <id>2d1d210df45fcd1a0028431b7aead8bffe7cb1e5:lang/cpp11/lambda_expressions.md</id>
13+ <updated>2025-07-12T16:05:25+09:00</updated>
14+
15+ <summary type="html"><pre><code>diff --git a/lang/cpp11/lambda_expressions.md b/lang/cpp11/lambda_expressions.md
16+ index 75d47d422..96261524a 100644
17+ --- a/lang/cpp11/lambda_expressions.md
18+ +++ b/lang/cpp11/lambda_expressions.md
19+ @@ -497,7 +497,7 @@ void f()
20+ ```cpp
21+ double array[] = { 1.0, 2.1, 3.3, 4.4 };
22+ double sum = 0; int factor = 2;
23+ -for_each(array, array + 4, &lt;&gt;(double d ; &amp;sum, factor) ( sum += factor ∗ d ));
24+ +for_each(array, array + 4, &lt;&gt;(double d ; &amp;sum, factor) ( sum += factor * d ));
25+ ```
26+
27+ 参照キャプチャする場合は、変数名の先頭に`&amp;`を付け、コピーキャプチャする場合は変数名のみを指定する。
28+ @@ -507,7 +507,7 @@ for_each(array, array + 4, &lt;&gt;(double d ; &amp;sum, factor) ( sum += factor ∗ d ));
29+ ```cpp
30+ double array[] = { 1.0, 2.1, 3.3, 4.4 };
31+ double sum = 0; int factor = 2;
32+ -for_each(array, array + 4, &lt;&amp;&gt;(double d) ( sum += factor ∗ d ));
33+ +for_each(array, array + 4, &lt;&amp;&gt;(double d) ( sum += factor * d ));
34+ ```
35+
36+ ここでは、関数の本体に丸カッコを使用している。これは、関数の本体がひとつの式だけで成り立つ場合に使用する。2つ以上の式や文がある場合は、波カッコを使用する。
37+ </code></pre></summary>
38+
39+ <author>
40+ <name>Raclamusi</name>
41+ 42+ </author>
43+ </entry>
44+
45+ <entry>
46+ <title>型の文脈でtypenameの省略を許可 [P0634R3] -- コード中の非ASCII文字を修正</title>
47+ <link href="https://cpprefjp.github.io/lang/cpp20/down_with_typename.html"/>
48+ <id>2d1d210df45fcd1a0028431b7aead8bffe7cb1e5:lang/cpp20/down_with_typename.md</id>
49+ <updated>2025-07-12T16:05:25+09:00</updated>
50+
51+ <summary type="html"><pre><code>diff --git a/lang/cpp20/down_with_typename.md b/lang/cpp20/down_with_typename.md
52+ index 25c042ec8..05c90b933 100644
53+ --- a/lang/cpp20/down_with_typename.md
54+ +++ b/lang/cpp20/down_with_typename.md
55+ @@ -43,7 +43,7 @@ template&lt;class T&gt; struct S {
56+ T::R f(T::P p) { // OK, メンバ宣言、およびメンバ宣言における仮引数宣言
57+ return static_cast&lt;T::R&gt;(p); // OK, static_castの型名
58+ }
59+ - auto g() -&gt; S&lt;T*&gt;::Ptr; // OK, 後置戻り値型
60+ + auto g() -&gt; S&lt;T*&gt;::Ptr; // OK, 後置戻り値型
61+ };
62+
63+ template&lt;typename T&gt; void f() {
64+ </code></pre></summary>
65+
66+ <author>
67+ <name>Raclamusi</name>
68+ 69+ </author>
70+ </entry>
71+
972 <entry>
1073 <title>printf -- タイトルを修正</title>
1174 <link href="https://cpprefjp.github.io/reference/cstdio/printf.html"/>
@@ -11709,30 +11772,4 @@ index e00160f22..c00edfd84 100644
1170911772 </author>
1171011773 </entry>
1171111774
11712- <entry>
11713- <title>fprintf -- fix(reference/cstdio/printf): 出力の修正</title>
11714- <link href="https://cpprefjp.github.io/reference/cstdio/printf.html"/>
11715- <id>62d8393dcdd0ed11b7c7cbb76206bd56a2f54abe:reference/cstdio/printf.md</id>
11716- <updated>2025-07-11T20:54:50+09:00</updated>
11717-
11718- <summary type="html"><pre><code>diff --git a/reference/cstdio/printf.md b/reference/cstdio/printf.md
11719- index 5a7153fa3..4542dc2ea 100644
11720- --- a/reference/cstdio/printf.md
11721- +++ b/reference/cstdio/printf.md
11722- @@ -25,6 +25,7 @@ int main() {
11723- ### 出力
11724- ```
11725- Hello, World!
11726- +123
11727- ```
11728-
11729- ## 処理系
11730- </code></pre></summary>
11731-
11732- <author>
11733- <name>Koichi Murase</name>
11734- 11735- </author>
11736- </entry>
11737-
1173811775</feed>
0 commit comments