P2905R2 により,make_format_args は左辺値しか受け取らないため,コンパイルエラーとなっていた例を修正#1595
Merged
faithandbrave merged 3 commits intocpprefjp:masterfrom Mar 26, 2026
Merged
P2905R2 により,make_format_args は左辺値しか受け取らないため,コンパイルエラーとなっていた例を修正#1595faithandbrave merged 3 commits intocpprefjp:masterfrom
faithandbrave merged 3 commits intocpprefjp:masterfrom
Conversation
akinomyoga
reviewed
Mar 25, 2026
Member
akinomyoga
left a comment
There was a problem hiding this comment.
@onihusube さんの記事によると DR として C++20 まで遡及適用ということみたいですね
参考文献に P2905R2 と追加するだけでなくて、一言何処かに経緯を書いておいていただけると良いと思います。
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
Contributor
|
⚡ プレビュー (HTML) (更新時刻: 2026-03-26 08:45:58 JST) 変更記事一覧2件の記事が変更されました。 ※ソース (.md) に直接変更のあった記事を列挙しています。グローバル修飾や変換規則の変更による変化は考慮していません。 |
akinomyoga
approved these changes
Mar 25, 2026
Contributor
Author
|
レビューありがとうございます.コードのスペース追加を反映し,参考文献に簡単な経緯を追記しました. |
Member
|
ありがとうございます。マージしました。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
参考:https://onihusube.hatenablog.com/entry/2023/09/23/203644#P2905R1-Runtime-format-strings