Skip to content

C++23によりコードを近代化する#31

Draft
smdn wants to merge 5 commits into
mainfrom
modernize-using-cpp23
Draft

C++23によりコードを近代化する#31
smdn wants to merge 5 commits into
mainfrom
modernize-using-cpp23

Conversation

@smdn

@smdn smdn commented Jul 5, 2026

Copy link
Copy Markdown
Owner

このPRではC++コードのコンパイル要件をC++23に引き上げ、以下の機能を利用したコードに書き換える。

  • std::print (std::ostreamによる出力を書き換え)
  • std::format (std:sstreamとマニピュレータによる数値→文字列変換の書き換え)
  • std::invocable (std::functionによるラムダの受け渡しを書き換え)

これによりコードを近代化・簡略化するとともに、多言語の実装との差異をより少なくする。

@smdn

smdn commented Jul 5, 2026

Copy link
Copy Markdown
Owner Author

以下に挙げるGitHub Actionsランナーイメージのデフォルトのツールセットではまだサポートされていないものがあるため、サポートされ次第マージする。

  • ubuntu-latest (Ubuntu 24.04), make + G++
  • windows-latest (Windows Server 2025), make + G++

@smdn
smdn marked this pull request as draft July 5, 2026 03:54
@smdn
smdn force-pushed the modernize-using-cpp23 branch from e4ba521 to 69fd719 Compare July 14, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant