Skip to content

Commit ddcac3b

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 4bb336c commit ddcac3b

12 files changed

Lines changed: 2773 additions & 155 deletions

lang/cpp26.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2026-05-21T06:03:06">
180-
2026年05月21日 06時03分06秒
179+
<span itemprop="datePublished" content="2026-05-29T03:47:38">
180+
2026年05月29日 03時47分38秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -732,10 +732,10 @@ <h3>ファイル</h3>
732732
</li>
733733
<li><code><a href="../reference/filesystem/path.html">std::filesystem::path</a></code>クラスに、文字列フォーマットのサポートを追加</li>
734734
<li><code><a href="../reference/filesystem/path.html">std::filesystem::path</a></code>クラスに、出力用の文字列を取得するための、以下のメンバ関数を追加<ul>
735-
<li><code><span href="https://cpprefjp.github.io/reference/filesystem/path/display_string.md.nolink">display_string()</span></code></li>
736-
<li><code><span href="https://cpprefjp.github.io/reference/filesystem/path/system_encoded_string.md.nolink">system_encoded_string()</span></code></li>
737-
<li><code><span href="https://cpprefjp.github.io/reference/filesystem/path/generic_display_string.md.nolink">generic_display_string()</span></code></li>
738-
<li><code><span href="https://cpprefjp.github.io/reference/filesystem/path/generic_system_encoded_string.md.nolink">generic_system_encoded_string()</span></code></li>
735+
<li><code><a href="../reference/filesystem/path/display_string.html">display_string()</a></code></li>
736+
<li><code><a href="../reference/filesystem/path/system_encoded_string.html">system_encoded_string()</a></code></li>
737+
<li><code><a href="../reference/filesystem/path/generic_display_string.html">generic_display_string()</a></code></li>
738+
<li><code><a href="../reference/filesystem/path/generic_system_encoded_string.html">generic_system_encoded_string()</a></code></li>
739739
</ul>
740740
</li>
741741
</ul>
@@ -1032,9 +1032,12 @@ <h3>機能の非推奨化</h3>
10321032
</ul>
10331033
</li>
10341034
<li><code><a href="../reference/atomic/memory_order.html">std::memory_order::consume</a></code>と、それに関連して<code><a href="../reference/atomic/kill_dependency.html">std::kill_dependency()</a></code>を非推奨化し、<code><a href="cpp11/attributes.html">[[carries_dependency]]</a></code>属性を削除</li>
1035-
<li><code><a href="../reference/filesystem/path.html">std::filesystem::path</a></code>クラスの以下のメンバ関数を非推奨化<ul>
1035+
<li><code><a href="../reference/filesystem/path.html">std::filesystem::path</a></code>クラスの、以下の非テンプレート版メンバ関数を非推奨化<ul>
10361036
<li><code><a href="../reference/filesystem/path/string.html">string()</a></code></li>
10371037
<li><code><a href="../reference/filesystem/path/generic_string.html">generic_string()</a></code></li>
1038+
<li>これらはOS依存のパス名エンコーディングへ変換するため、<a href="../reference/iostream.html">iostream</a><code><a href="../reference/format/format.html">std::format()</a></code><code><a href="../reference/print/print.html">std::print()</a></code>を含むほぼすべての標準のテキスト処理・入出力機能と互換性がなく、文字化けやデータ損失の原因になりやすい</li>
1039+
<li>レガシーなシステムAPIにパスを渡す用途では、システム依存エンコーディングへの変換であることを明確にした<code><a href="../reference/filesystem/path/system_encoded_string.html">system_encoded_string()</a></code><code><a href="../reference/filesystem/path/generic_system_encoded_string.html">generic_system_encoded_string()</a></code>を使用する</li>
1040+
<li>表示・フォーマットの用途では、<code><a href="../reference/filesystem/path/display_string.html">display_string()</a></code><code><a href="../reference/filesystem/path/generic_display_string.html">generic_display_string()</a></code>、もしくは<code><a href="../reference/format/format.html">std::format()</a></code><code><a href="../reference/print/print.html">std::print()</a></code>を使用する</li>
10381041
</ul>
10391042
</li>
10401043
</ul>

reference/filesystem/path.html

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-03-03T04:59:58">
192-
2025年03月03日 04時59分58秒
191+
<span itemprop="datePublished" content="2026-05-29T03:47:38">
192+
2026年05月29日 03時47分38秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -363,7 +363,17 @@ <h3>システムのパスフォーマット</h3>
363363
<tr>
364364
<td><code><a href="path/string.html">string</a></code></td>
365365
<td>システムのマルチバイト文字コードとしてパス文字列を取得する</td>
366-
<td>C++17</td>
366+
<td>C++17<br /> 非テンプレート版はC++26で非推奨</td>
367+
</tr>
368+
<tr>
369+
<td><code><a href="path/display_string.html">display_string</a></code></td>
370+
<td>表示用のリテラルエンコーディングとしてパス文字列を取得する</td>
371+
<td>C++26</td>
372+
</tr>
373+
<tr>
374+
<td><code><a href="path/system_encoded_string.html">system_encoded_string</a></code></td>
375+
<td>システム依存エンコーディングとしてパス文字列を取得する</td>
376+
<td>C++26</td>
367377
</tr>
368378
<tr>
369379
<td><code><a href="path/wstring.html">wstring</a></code></td>
@@ -400,7 +410,17 @@ <h3>システム非依存のパスフォーマット</h3>
400410
<tr>
401411
<td><code><a href="path/generic_string.html">generic_string</a></code></td>
402412
<td>システムのマルチバイト文字コードとして、環境非依存パスフォーマットのパス文字列を取得する</td>
403-
<td>C++17</td>
413+
<td>C++17<br /> 非テンプレート版はC++26で非推奨</td>
414+
</tr>
415+
<tr>
416+
<td><code><a href="path/generic_display_string.html">generic_display_string</a></code></td>
417+
<td>表示用のリテラルエンコーディングとして、環境非依存パスフォーマットのパス文字列を取得する</td>
418+
<td>C++26</td>
419+
</tr>
420+
<tr>
421+
<td><code><a href="path/generic_system_encoded_string.html">generic_system_encoded_string</a></code></td>
422+
<td>システム依存エンコーディングとして、環境非依存パスフォーマットのパス文字列を取得する</td>
423+
<td>C++26</td>
404424
</tr>
405425
<tr>
406426
<td><code><a href="path/generic_wstring.html">generic_wstring</a></code></td>

0 commit comments

Comments
 (0)