<?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">&lt;pre&gt;&lt;code&gt;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では、文字列リテラル中に記述するエスケープシーケン
 &amp;#34;\x{ab}c&amp;#34;;  // C++23 : 2文字を表す
 
 // ユニバーサルキャラクタ名
-u8&amp;#34;\u0001F1F8&amp;#34;; // 4文字か8文字のみ指定できる制限があるので先頭0埋めする
+u8&amp;#34;\U0001F1F8&amp;#34;; // 4文字か8文字のみ指定できる制限があるので先頭0埋めする
 u8&amp;#34;\u{1F1F8}&amp;#34;;  // C++23 : 5文字のコードポイントも記述できる
 ```
 
&lt;/code&gt;&lt;/pre&gt;</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">&lt;pre&gt;&lt;code&gt;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 &amp;#34;red&amp;#34;;
     case green: return &amp;#34;green&amp;#34;;
&lt;/code&gt;&lt;/pre&gt;</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">&lt;pre&gt;&lt;code&gt;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 &amp;lt; N; ++i) {
+    for(size_t i = 0; i &amp;lt; m_size; ++i) {
       std::destroy_at(m_p + i);
     }
     m_alloc.deallocate(m_p, m_size);
&lt;/code&gt;&lt;/pre&gt;</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">&lt;pre&gt;&lt;code&gt;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;
 }
&lt;/code&gt;&lt;/pre&gt;</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">&lt;pre&gt;&lt;code&gt;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 &amp;lt;iostream&amp;gt;
+import &amp;lt;iostream&amp;gt;;
 
 int main() {
   // これらの型や関数の宣言はこの翻訳単位には無いが、
&lt;/code&gt;&lt;/pre&gt;</summary>
      
      <author>
        <name>rotarymars</name>
        <email>s.goto2050@gmail.com</email>
      </author>
    </entry>
  
</feed>