Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove perfect forwarding in std::make_format_args calls #326

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

frederick-vs-ja
Copy link
Contributor

It's no longer correct to perfect forward arguments to be formatted in std::make_format_args after defect report P2905R2.

Perfect forwarding is redundant before the DR - as the internal mechanism always treat the formatted arguments as lvalues.

Fixes #325.

Copy link
Collaborator

@rsp4jack rsp4jack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank u so much ❤️

@rsp4jack rsp4jack merged commit 3c44148 into Mq-b:main Jul 16, 2024
10 checks passed
@frederick-vs-ja frederick-vs-ja deleted the p2905r2 branch July 16, 2024 09:48
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.

Adapt P02 to DR P2905R2
2 participants