-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrss.xml
More file actions
153 lines (127 loc) · 5.76 KB
/
Copy pathrss.xml
File metadata and controls
153 lines (127 loc) · 5.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>cpprefjp - C++日本語リファレンス</title>
<link href="https://cpprefjp.github.io" />
<updated>2026-07-23T16:07:51.065726</updated>
<id>fcd23068-3e16-4bb8-a5bf-a23054f61745</id>
<entry>
<title>エスケープシーケンスの区切り [P2290R3] -- fix unicode</title>
<link href="https://cpprefjp.github.io/lang/cpp23/delimited_escape_sequences.html"/>
<id>e68bf10bcf52f881748ad2f9bbc0238bab1a2e53:lang/cpp23/delimited_escape_sequences.md</id>
<updated>2026-07-23T19:19:44+09:00</updated>
<summary type="html"><pre><code>diff --git a/lang/cpp23/delimited_escape_sequences.md b/lang/cpp23/delimited_escape_sequences.md
index 1f0abfac5..6d2fc8d34 100644
--- a/lang/cpp23/delimited_escape_sequences.md
+++ b/lang/cpp23/delimited_escape_sequences.md
@@ -24,7 +24,7 @@ C++23では、文字列リテラル中に記述するエスケープシーケン
&#34;\x{ab}c&#34;; // C++23 : 2文字を表す
// ユニバーサルキャラクタ名
-u8&#34;\u0001F1F8&#34;; // 4文字か8文字のみ指定できる制限があるので先頭0埋めする
+u8&#34;\U0001F1F8&#34;; // 4文字か8文字のみ指定できる制限があるので先頭0埋めする
u8&#34;\u{1F1F8}&#34;; // C++23 : 5文字のコードポイントも記述できる
```
</code></pre></summary>
<author>
<name>rotarymars</name>
<email>s.goto2050@gmail.com</email>
</author>
</entry>
<entry>
<title>スコープ付き列挙型のusing宣言 [P1099R5] -- fix of wrong switch statement</title>
<link href="https://cpprefjp.github.io/lang/cpp20/using_enum.html"/>
<id>31d95bcb692d86290eb24702cf7513d19d70e7bb:lang/cpp20/using_enum.md</id>
<updated>2026-07-23T19:17:43+09:00</updated>
<summary type="html"><pre><code>diff --git a/lang/cpp20/using_enum.md b/lang/cpp20/using_enum.md
index a34c94d36..e0a1b2076 100644
--- a/lang/cpp20/using_enum.md
+++ b/lang/cpp20/using_enum.md
@@ -30,7 +30,7 @@ using enum宣言した列挙型の列挙値は、そのスコープにおいて
enum class rgba_color_channel { red, green, blue, alpha};
std::string_view to_string(rgba_color_channel channel) {
- switch (my_channel) {
+ switch (channel) {
using enum rgba_color_channel;
case red: return &#34;red&#34;;
case green: return &#34;green&#34;;
</code></pre></summary>
<author>
<name>rotarymars</name>
<email>s.goto2050@gmail.com</email>
</author>
</entry>
<entry>
<title>可変サイズをもつコンテナのconstexpr化 [P0784R7] -- fix a out-of-scope var</title>
<link href="https://cpprefjp.github.io/lang/cpp20/more_constexpr_containers.html"/>
<id>019227f67fe820e0f07decb478b374ef38210c9d:lang/cpp20/more_constexpr_containers.md</id>
<updated>2026-07-23T19:17:06+09:00</updated>
<summary type="html"><pre><code>diff --git a/lang/cpp20/more_constexpr_containers.md b/lang/cpp20/more_constexpr_containers.md
index a4b96f9c4..9fba19ad4 100644
--- a/lang/cpp20/more_constexpr_containers.md
+++ b/lang/cpp20/more_constexpr_containers.md
@@ -308,7 +308,7 @@ struct sample {
// constexprデストラクタでメモリ領域を解放
constexpr ~sample() {
- for(size_t i = 0; i &lt; N; ++i) {
+ for(size_t i = 0; i &lt; m_size; ++i) {
std::destroy_at(m_p + i);
}
m_alloc.deallocate(m_p, m_size);
</code></pre></summary>
<author>
<name>rotarymars</name>
<email>s.goto2050@gmail.com</email>
</author>
</entry>
<entry>
<title>可変サイズをもつコンテナのconstexpr化 [P0784R7] -- fix in deallocate</title>
<link href="https://cpprefjp.github.io/lang/cpp20/more_constexpr_containers.html"/>
<id>670bc078adfb1efb2f7a7180bf6f65cafb1a6ece:lang/cpp20/more_constexpr_containers.md</id>
<updated>2026-07-23T19:16:09+09:00</updated>
<summary type="html"><pre><code>diff --git a/lang/cpp20/more_constexpr_containers.md b/lang/cpp20/more_constexpr_containers.md
index f973b5746..a4b96f9c4 100644
--- a/lang/cpp20/more_constexpr_containers.md
+++ b/lang/cpp20/more_constexpr_containers.md
@@ -181,7 +181,7 @@ constexpr int f() {
// 破棄と解放
std::destroy_at(p);
- alloc.deallocate();
+ alloc.deallocate(p, 1);
return n;
}
@@ -204,7 +204,7 @@ constexpr int f() {
// 忘れる
//std::destroy_at(p);
- //alloc.deallocate();
+ //alloc.deallocate(p, 1);
return n;
}
</code></pre></summary>
<author>
<name>rotarymars</name>
<email>s.goto2050@gmail.com</email>
</author>
</entry>
<entry>
<title>モジュール [P1103R3] -- adding a missing semicolon</title>
<link href="https://cpprefjp.github.io/lang/cpp20/modules.html"/>
<id>fbe18e3ac3abf6e086854e182b48dde8cb223488:lang/cpp20/modules.md</id>
<updated>2026-07-23T19:11:23+09:00</updated>
<summary type="html"><pre><code>diff --git a/lang/cpp20/modules.md b/lang/cpp20/modules.md
index 02ac06751..32f8afc92 100644
--- a/lang/cpp20/modules.md
+++ b/lang/cpp20/modules.md
@@ -38,7 +38,7 @@ namespace mylib {
```cpp
import mylib;
// iostreamなど、一部のヘッダーはインポート(≠インクルード)可能
-import &lt;iostream&gt;
+import &lt;iostream&gt;;
int main() {
// これらの型や関数の宣言はこの翻訳単位には無いが、
</code></pre></summary>
<author>
<name>rotarymars</name>
<email>s.goto2050@gmail.com</email>
</author>
</entry>
</feed>