From d13aff7cb474a46b99d6bee1957c2320d086c322 Mon Sep 17 00:00:00 2001 From: rotarymars Date: Thu, 2 Jul 2026 15:50:12 +0900 Subject: [PATCH 1/5] fixint typo: experimental --- lang/cpp17.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cpp17.md b/lang/cpp17.md index 0fadd4f75e..a6d08d83c3 100644 --- a/lang/cpp17.md +++ b/lang/cpp17.md @@ -9,7 +9,7 @@ C++17とは、2017年12月に改訂され、ISO/IEC 14882:2017で標準規格化 ## 策定体制 C++14の策定開始段階から「Study Group (SG)」と呼ばれる専門家グループが複数作られ、そこで同時並行に新機能の議論、策定が進められていた。C++14ではそれらの機能は導入されなかったが、C++17ではSGで議論された機能のうち、仕様が固まったもののいくつかが導入されることとなった。 -各SGで考えられた仕様は「Technical Specification (TS)」という単位で個別に各国の承認をとっている。その段階では、ライブラリ機能は`std::exprerimental`名前空間などで各コンパイラが実験的にサポートをしていた。これはコンパイラが実装経験を積み、ユーザーが使用経験を得てから標準に採用するためである。 +各SGで考えられた仕様は「Technical Specification (TS)」という単位で個別に各国の承認をとっている。その段階では、ライブラリ機能は`std::experimental`名前空間などで各コンパイラが実験的にサポートをしていた。これはコンパイラが実装経験を積み、ユーザーが使用経験を得てから標準に採用するためである。 C++17では以下のTSが採用された: From c94627b10cf14bb54f93c0cc99490d73bd66c4d4 Mon Sep 17 00:00:00 2001 From: rotarymars Date: Thu, 2 Jul 2026 15:50:57 +0900 Subject: [PATCH 2/5] fixing typo: functional --- reference/bit.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/bit.md b/reference/bit.md index bc1c74f377..2394460fd8 100644 --- a/reference/bit.md +++ b/reference/bit.md @@ -10,24 +10,24 @@ | 名前 | 説明 | 対応バージョン | |------|------|----------------| -| [`bit_cast`](bit/bit_cast.md) | ビットレベルの再解釈キャスト (functional template) | C++20 | +| [`bit_cast`](bit/bit_cast.md) | ビットレベルの再解釈キャスト (function template) | C++20 | ## バイト入替 | 名前 | 説明 | 対応バージョン | |------|------|----------------| -| [`byteswap`](bit/byteswap.md) | バイト単位入れ替え (functional template) | C++23 | +| [`byteswap`](bit/byteswap.md) | バイト単位入れ替え (function template) | C++23 | ## 2の累乗整数 | 名前 | 説明 | 対応バージョン | |------|------|----------------| -| [`has_single_bit`](bit/has_single_bit.md) | 1ビットだけ立っている値をもっているか判定する (functional template) | C++20 | -| [`bit_ceil`](bit/bit_ceil.md) | 整数値を2の累乗値に切り上げる (functional template) | C++20 | -| [`bit_floor`](bit/bit_floor.md) | 整数値を2の累乗値に切り下げる (functional template) | C++20 | -| [`bit_width`](bit/bit_width.md) | 値を表現するために必要なビット幅を求める (functional template) | C++20 | +| [`has_single_bit`](bit/has_single_bit.md) | 1ビットだけ立っている値をもっているか判定する (function template) | C++20 | +| [`bit_ceil`](bit/bit_ceil.md) | 整数値を2の累乗値に切り上げる (function template) | C++20 | +| [`bit_floor`](bit/bit_floor.md) | 整数値を2の累乗値に切り下げる (function template) | C++20 | +| [`bit_width`](bit/bit_width.md) | 値を表現するために必要なビット幅を求める (function template) | C++20 | ## 循環ビットシフト From 2d81bdea86ad375a14b548dd65a811feb9e4b6a8 Mon Sep 17 00:00:00 2001 From: rotarymars Date: Thu, 2 Jul 2026 15:51:29 +0900 Subject: [PATCH 3/5] fixing typo: dened --- reference/complex/complex/op_i.md | 2 +- reference/complex/complex/op_if.md | 2 +- reference/complex/complex/op_il.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/complex/complex/op_i.md b/reference/complex/complex/op_i.md index ece06a98fa..097c75cdfa 100644 --- a/reference/complex/complex/op_i.md +++ b/reference/complex/complex/op_i.md @@ -65,4 +65,4 @@ int main() | [`if`](op_if.md) | `complex`のリテラル | | [`il`](op_il.md) | `complex`のリテラル | -- [N3779 User-dened Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) +- [N3779 User-defined Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) diff --git a/reference/complex/complex/op_if.md b/reference/complex/complex/op_if.md index c8049f18bb..6c5a430aa4 100644 --- a/reference/complex/complex/op_if.md +++ b/reference/complex/complex/op_if.md @@ -65,4 +65,4 @@ int main() | [`i`](op_i.md) | `complex`のリテラル | | [`il`](op_il.md) | `complex`のリテラル | -- [N3779 User-dened Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) +- [N3779 User-defined Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) diff --git a/reference/complex/complex/op_il.md b/reference/complex/complex/op_il.md index 665377a660..d14e2bec2c 100644 --- a/reference/complex/complex/op_il.md +++ b/reference/complex/complex/op_il.md @@ -65,4 +65,4 @@ int main() | [`i`](op_i.md) | `complex`のリテラル | | [`if`](op_if.md) | `complex`のリテラル | -- [N3779 User-dened Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) +- [N3779 User-defined Literals for std::complex part 2 of UDL for Standard Library Types (version 5)](https://isocpp.org/files/papers/N3779.pdf) From 3593d2b1c77aeb11149f07446d1723c04ae883f3 Mon Sep 17 00:00:00 2001 From: rotarymars Date: Thu, 2 Jul 2026 15:51:48 +0900 Subject: [PATCH 4/5] =?UTF-8?q?fixing=20typo:=20=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/filesystem/path/compare.md | 2 +- reference/filesystem/path/op_compare_3way.md | 2 +- reference/filesystem/path/op_equal.md | 2 +- reference/filesystem/path/op_not_equal.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/filesystem/path/compare.md b/reference/filesystem/path/compare.md index 76d715fe4e..97601cad8b 100644 --- a/reference/filesystem/path/compare.md +++ b/reference/filesystem/path/compare.md @@ -40,7 +40,7 @@ int main() // 正規化は考慮されない。 // ファイルシステムとしてのパスの等価性ではなく、 - // パス文字列の同値性が比較されれる + // パス文字列の同値性が比較される fs::path c = "a/../b/c"; assert(a.compare(c) != 0); diff --git a/reference/filesystem/path/op_compare_3way.md b/reference/filesystem/path/op_compare_3way.md index f72a07bf33..923a888de1 100644 --- a/reference/filesystem/path/op_compare_3way.md +++ b/reference/filesystem/path/op_compare_3way.md @@ -45,7 +45,7 @@ int main() // 正規化は考慮されない。 // ファイルシステムとしてのパスの等価性ではなく、 - // パス文字列の同値性が比較されれる + // パス文字列の同値性が比較される fs::path c = "a/../b/c"; assert((a <=> c) != 0); } diff --git a/reference/filesystem/path/op_equal.md b/reference/filesystem/path/op_equal.md index 7f109b846e..37a7294b83 100644 --- a/reference/filesystem/path/op_equal.md +++ b/reference/filesystem/path/op_equal.md @@ -56,7 +56,7 @@ int main() // 正規化は考慮されない。 // ファイルシステムとしてのパスの等価性ではなく、 - // パス文字列の同値性が比較されれる + // パス文字列の同値性が比較される fs::path c = "a/../b/c"; assert(!(a == c)); } diff --git a/reference/filesystem/path/op_not_equal.md b/reference/filesystem/path/op_not_equal.md index 29d4a6fce9..50ff0b8aca 100644 --- a/reference/filesystem/path/op_not_equal.md +++ b/reference/filesystem/path/op_not_equal.md @@ -38,7 +38,7 @@ int main() // 正規化は考慮されない。 // ファイルシステムとしてのパスの等価性ではなく、 - // パス文字列の同値性が比較されれる + // パス文字列の同値性が比較される fs::path c = "a/../b/c"; assert(a != c); } From d0cbd89f5470e00729b05c0bcac79b889b18a5e3 Mon Sep 17 00:00:00 2001 From: rotarymars Date: Thu, 2 Jul 2026 15:52:31 +0900 Subject: [PATCH 5/5] including limits where it needs on the sample code --- reference/compare/partial_ordering/op_compare_3way.md | 1 + reference/compare/partial_ordering/op_equal.md | 1 + reference/compare/partial_ordering/op_greater.md | 1 + reference/compare/partial_ordering/op_greater_equal.md | 1 + reference/compare/partial_ordering/op_less.md | 1 + reference/compare/partial_ordering/op_less_equal.md | 1 + reference/compare/partial_ordering/op_not_equal.md | 1 + 7 files changed, 7 insertions(+) diff --git a/reference/compare/partial_ordering/op_compare_3way.md b/reference/compare/partial_ordering/op_compare_3way.md index f464460a82..be03553a13 100644 --- a/reference/compare/partial_ordering/op_compare_3way.md +++ b/reference/compare/partial_ordering/op_compare_3way.md @@ -35,6 +35,7 @@ friend constexpr partial_ordering operator<=>(/*unspecified*/, partial_ordering ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_equal.md b/reference/compare/partial_ordering/op_equal.md index f1438f8879..d5fc980ad9 100644 --- a/reference/compare/partial_ordering/op_equal.md +++ b/reference/compare/partial_ordering/op_equal.md @@ -44,6 +44,7 @@ friend constexpr bool operator==(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_greater.md b/reference/compare/partial_ordering/op_greater.md index ca9b75eac2..fde49b2063 100644 --- a/reference/compare/partial_ordering/op_greater.md +++ b/reference/compare/partial_ordering/op_greater.md @@ -35,6 +35,7 @@ friend constexpr bool operator>(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_greater_equal.md b/reference/compare/partial_ordering/op_greater_equal.md index 912b027b88..7d3c564d93 100644 --- a/reference/compare/partial_ordering/op_greater_equal.md +++ b/reference/compare/partial_ordering/op_greater_equal.md @@ -34,6 +34,7 @@ friend constexpr bool operator>=(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_less.md b/reference/compare/partial_ordering/op_less.md index 26c63c9add..ce5c5ceab1 100644 --- a/reference/compare/partial_ordering/op_less.md +++ b/reference/compare/partial_ordering/op_less.md @@ -35,6 +35,7 @@ friend constexpr bool operator<(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_less_equal.md b/reference/compare/partial_ordering/op_less_equal.md index 519b48e594..b8273ada17 100644 --- a/reference/compare/partial_ordering/op_less_equal.md +++ b/reference/compare/partial_ordering/op_less_equal.md @@ -35,6 +35,7 @@ friend constexpr bool operator<=(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() { diff --git a/reference/compare/partial_ordering/op_not_equal.md b/reference/compare/partial_ordering/op_not_equal.md index 29754ebf17..af5cb9a773 100644 --- a/reference/compare/partial_ordering/op_not_equal.md +++ b/reference/compare/partial_ordering/op_not_equal.md @@ -40,6 +40,7 @@ friend constexpr bool operator!=(/*unspecified*/, partial_ordering v) noexcept; ```cpp example #include #include +#include int main() {