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

P2216R3 std::format improvements #4680

Merged
merged 1 commit into from Jun 17, 2021
Merged

P2216R3 std::format improvements #4680

merged 1 commit into from Jun 17, 2021

Conversation

jensmaurer
Copy link
Member

  • Avoid redundantly presenting the definition of basic-format-string
    in the header synopsis.
  • Do not italicize basic-format-string's private exposition-only member,
    consistent with similar situations.

Fixes #4653
Fixes cplusplus/papers#919

@jensmaurer jensmaurer added this to the post-2021-06 milestone Jun 9, 2021
source/utilities.tex Outdated Show resolved Hide resolved
source/utilities.tex Outdated Show resolved Hide resolved
source/utilities.tex Outdated Show resolved Hide resolved
source/utilities.tex Outdated Show resolved Hide resolved
@jensmaurer
Copy link
Member Author

@JohelEGP , thanks, fixed.

@tkoeppe
Copy link
Contributor

tkoeppe commented Jun 16, 2021

@jensmaurer: your commit message indicates that you didn't want to italicize the exposition-only str member, but it's still italicised in the current version. Did you intend to change that?

If so, I'm going to open a new issue to do this later. We should also rename str to str_ at that point.

 - Avoid redundantly presenting the definition of basic-format-string
   in the header synopsis.
 - Add dedicated section format.fmt.string for basic-format-string,
   instead of including it in fmt.error.report.
 - Reconcile with the earlier adoption of LWG-3539.
@JohelEGP
Copy link
Contributor

@jensmaurer: your commit message indicates that you didn't want to italicize the exposition-only str member, but it's still italicised in the current version. Did you intend to change that?

I noted that the comment was right before a rebase.


template<class Out>
Out vformat_to(Out out, string_view fmt,
format_args_t<type_identity_t<Out>, char> args);
Out vformat_to(Out out, string_view fmt, format_args, args);
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra comma in format_args, args

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in linked pull request

template<class Out>
Out vformat_to(Out out, wstring_view fmt,
format_args_t<type_identity_t<Out>, wchar_t> args);
Out vformat_to(Out out, wstring_view fmt, wformat_args, args);
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra comma in wformat_args, args

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in linked pull request

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.

[2021-06 LWG Motion 16] P2216R3 std::format improvements P2216 std::format improvements
4 participants