Skip to content

Commit 90dd99d

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 8fce0d2 commit 90dd99d

File tree

3 files changed

+43
-45
lines changed

3 files changed

+43
-45
lines changed

lang/cpp26/embed.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
</head>
7070
<body>
71-
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;921cbd6682920a0d707f240b899e7c5e322c6115&#34;, &#34;source&#34;: &#34;#include &lt;iostream&gt;\n\nint main() {\n constexpr unsigned char image_binary[] = {\n #embed \&#34;image.bin\&#34;\n };\n std::cout &lt;&lt; std::hex;\n for (unsigned char c : image_binary) {\n std::cout &lt;&lt; static_cast&lt;int&gt;(c) &lt;&lt; &#39; &#39;;\n }\n std::cout &lt;&lt; std::endl;\n}\n&#34;}, {&#34;id&#34;: &#34;55a07c77eb3321842dfd33d25172b088933159c2&#34;, &#34;source&#34;: &#34;int main() {\n constexpr char text[] = { \n #embed \&#34;test.txt\&#34;\n };\n}\n&#34;}, {&#34;id&#34;: &#34;320f6158475c3bbdb9ba0e2894a8d83860518d63&#34;, &#34;source&#34;: &#34;int main() {\n constexpr unsigned char limited_data[] = {\n #embed \&#34;data.bin\&#34; limit(1024);\n };\n constexpr unsigned char prefixed_data[] = {\n #embed \&#34;data.bin\&#34; prefix(0x01, 0x02, 0x03)\n };\n constexpr unsigned char suffixed_data[] = {\n #embed \&#34;data.bin\&#34; suffix(0xFE, 0xFF)\n };\n constexpr unsigned char safe_data[] = {\n #embed \&#34;data.bin\&#34; if_empty(0x00)\n };\n}\n&#34;}, {&#34;id&#34;: &#34;ecc783028c04f5912ccf9febaf1895f5233e7f88&#34;, &#34;source&#34;: &#34;int main() {\n constexpr unsigned char combined_data[] = {\n #embed \&#34;data.bin\&#34; limit(1024) prefix(0x01, 0x02) suffix(0xFF) if_empty(0x00)\n };\n}\n&#34;}], &#34;page_id&#34;: [&#34;lang&#34;, &#34;cpp26&#34;, &#34;embed&#34;]}">
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;921cbd6682920a0d707f240b899e7c5e322c6115&#34;, &#34;source&#34;: &#34;#include &lt;iostream&gt;\n\nint main() {\n constexpr unsigned char image_binary[] = {\n #embed \&#34;image.bin\&#34;\n };\n std::cout &lt;&lt; std::hex;\n for (unsigned char c : image_binary) {\n std::cout &lt;&lt; static_cast&lt;int&gt;(c) &lt;&lt; &#39; &#39;;\n }\n std::cout &lt;&lt; std::endl;\n}\n&#34;}, {&#34;id&#34;: &#34;55a07c77eb3321842dfd33d25172b088933159c2&#34;, &#34;source&#34;: &#34;int main() {\n constexpr char text[] = { \n #embed \&#34;test.txt\&#34;\n };\n}\n&#34;}, {&#34;id&#34;: &#34;3128457b1122abc2d77aeda2358ef1a04465d5a5&#34;, &#34;source&#34;: &#34;int main() {\n constexpr unsigned char limited_data[] = {\n #embed \&#34;data.bin\&#34; limit(1024)\n };\n constexpr unsigned char prefixed_data[] = {\n #embed \&#34;data.bin\&#34; prefix(0x01, 0x02, 0x03)\n };\n constexpr unsigned char suffixed_data[] = {\n #embed \&#34;data.bin\&#34; suffix(0xFE, 0xFF)\n };\n constexpr unsigned char safe_data[] = {\n #embed \&#34;data.bin\&#34; if_empty(0x00)\n };\n}\n&#34;}, {&#34;id&#34;: &#34;ecc783028c04f5912ccf9febaf1895f5233e7f88&#34;, &#34;source&#34;: &#34;int main() {\n constexpr unsigned char combined_data[] = {\n #embed \&#34;data.bin\&#34; limit(1024) prefix(0x01, 0x02) suffix(0xFF) if_empty(0x00)\n };\n}\n&#34;}], &#34;page_id&#34;: [&#34;lang&#34;, &#34;cpp26&#34;, &#34;embed&#34;]}">
7272
<nav class="navbar navbar-default" role="navigation">
7373
<div class="container-fluid">
7474
<div class="navbar-header">
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-04-22T14:17:34">
192-
2025年04月22日 14時17分34秒
191+
<span itemprop="datePublished" content="2025-07-07T04:17:55">
192+
2025年07月07日 04時17分55秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">yoh</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -247,9 +247,9 @@ <h2>仕様</h2>
247247
</code></pre></div>
248248
</div>
249249
<code>#embed</code>ディレクティブは、他にもパラメータを受け付ける。</p>
250-
<p><div class="yata" id="320f6158475c3bbdb9ba0e2894a8d83860518d63"><div class="codehilite"><pre><span></span><code><span class="kt">int</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span>
250+
<p><div class="yata" id="3128457b1122abc2d77aeda2358ef1a04465d5a5"><div class="codehilite"><pre><span></span><code><span class="kt">int</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span>
251251
<span class="k">constexpr</span> <span class="kt">unsigned</span> <span class="kt">char</span> <span class="n">limited_data</span><span class="p">[]</span> <span class="o">=</span> <span class="p">{</span>
252-
<span class="cp">#embed "data.bin" limit(1024);</span>
252+
<span class="cp">#embed "data.bin" limit(1024)</span>
253253
<span class="p">};</span>
254254
<span class="k">constexpr</span> <span class="kt">unsigned</span> <span class="kt">char</span> <span class="n">prefixed_data</span><span class="p">[]</span> <span class="o">=</span> <span class="p">{</span>
255255
<span class="cp">#embed "data.bin" prefix(0x01, 0x02, 0x03)</span>

rss.xml

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,44 @@
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-07T03:58:05.466176</updated>
6-
<id>fa26242c-0868-4d4e-9cb5-d94de4cb7d90</id>
5+
<updated>2025-07-07T04:39:37.735097</updated>
6+
<id>72994e93-e971-413b-90cd-b373ff723e3d</id>
77

88

9+
<entry>
10+
<title>ファイルを読み込む#embed命令を追加 [P1967R14] -- cpp26/embed: remove redundant &#39;;&#39;</title>
11+
<link href="https://cpprefjp.github.io/lang/cpp26/embed.html"/>
12+
<id>293009535b8359be4d1a71250c41561a5b16008b:lang/cpp26/embed.md</id>
13+
<updated>2025-07-07T13:17:55+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/lang/cpp26/embed.md b/lang/cpp26/embed.md
16+
index 7b2b64d8a..fa2b4860f 100644
17+
--- a/lang/cpp26/embed.md
18+
+++ b/lang/cpp26/embed.md
19+
@@ -46,7 +46,7 @@ int main() {
20+
```cpp example
21+
int main() {
22+
constexpr unsigned char limited_data[] = {
23+
- #embed &amp;#34;data.bin&amp;#34; limit(1024);
24+
+ #embed &amp;#34;data.bin&amp;#34; limit(1024)
25+
};
26+
constexpr unsigned char prefixed_data[] = {
27+
#embed &amp;#34;data.bin&amp;#34; prefix(0x01, 0x02, 0x03)
28+
@@ -79,4 +79,4 @@ int main() {
29+
30+
31+
## 参照
32+
-- [P1967R14 #embed - a scannable, tooling-friendly binary resource inclusion mechanism](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p1967r14.html)
33+
\ No newline at end of file
34+
+- [P1967R14 #embed - a scannable, tooling-friendly binary resource inclusion mechanism](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p1967r14.html)
35+
&lt;/code&gt;&lt;/pre&gt;</summary>
36+
37+
<author>
38+
<name>yoh</name>
39+
<email>[email protected]</email>
40+
</author>
41+
</entry>
42+
943
<entry>
1044
<title>for_each_n -- added link for for_each_n.md</title>
1145
<link href="https://cpprefjp.github.io/reference/algorithm/for_each_n.html"/>
@@ -113,42 +147,6 @@ index 352e17c24..8c9242507 100644
113147
+* v.begin[link /reference/vector/vector/begin.md]
114148
+* v.end[link /reference/vector/vector/end.md]
115149
+* std::cout[link /reference/iostream/cout.md]
116-
+* std::endl[link /reference/ostream/endl.md]
117-
118-
### 出力
119-
```
120-
&lt;/code&gt;&lt;/pre&gt;</summary>
121-
122-
<author>
123-
<name>rotarymars</name>
124-
<email>[email protected]</email>
125-
</author>
126-
</entry>
127-
128-
<entry>
129-
<title>find_first_of -- added link for find_first_of.md</title>
130-
<link href="https://cpprefjp.github.io/reference/algorithm/find_first_of.html"/>
131-
<id>e4bd88863a2b0aca9818d258e77d270558e26369:reference/algorithm/find_first_of.md</id>
132-
<updated>2025-07-07T12:33:37+09:00</updated>
133-
134-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/algorithm/find_first_of.md b/reference/algorithm/find_first_of.md
135-
index be67c0a13..ee530c3f1 100644
136-
--- a/reference/algorithm/find_first_of.md
137-
+++ b/reference/algorithm/find_first_of.md
138-
@@ -105,8 +105,15 @@ int main() {
139-
}
140-
```
141-
* std::find_first_of[color ff0000]
142-
-* ls.begin()[link /reference/list/list/begin.md]
143-
-* ls.end()[link /reference/list/list/end.md]
144-
+* std::vector[link /reference/vector/vector.md]
145-
+* std::list[link /reference/list/list.md]
146-
+* v.begin[link /reference/vector/vector/begin.md]
147-
+* v.end[link /reference/vector/vector/end.md]
148-
+* ls.begin[link /reference/list/list/begin.md]
149-
+* ls.end[link /reference/list/list/end.md]
150-
+* std::distance[link /reference/iterator/distance.md]
151-
+* std::cout[link /reference/iostream/cout.md]
152150
+* std::endl[link /reference/ostream/endl.md]
153151

154152
### 出力

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40365,7 +40365,7 @@
4036540365

4036640366
<url>
4036740367
<loc>https://cpprefjp.github.io/lang/cpp26/embed.html</loc>
40368-
<lastmod>2025-04-23T09:51:52+09:00</lastmod>
40368+
<lastmod>2025-07-07T13:17:55+09:00</lastmod>
4036940369
<changefreq>daily</changefreq>
4037040370
<priority>0.7</priority>
4037140371
</url>

0 commit comments

Comments
 (0)