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

Harmonize wording for format-spec syntax used by different formatter specializations #6063

Open
jwakely opened this issue Jan 25, 2023 · 0 comments

Comments

@jwakely
Copy link
Member

jwakely commented Jan 25, 2023

From LWG telecon discussion ...

[format.string.std]:

The syntax of format specifications is as follows:

[format.range.formatter]:

range_­formatter interprets format-spec as a range-format-spec. The syntax of format specifications is as follows:

[time.format]:

The parse member functions of these formatters interpret the format specification as a chrono-format-spec according to the following syntax

LWG didn't really like the phrasing of "The syntax of format specifications is as follows:", but also didn't like the redundancy in "The parse member functions of these formatters interpret ..." (that is implied in the fact it's a format-spec).

Maybe we could use something that keeps the best bits of each style, e.g. "interprets format-spec as a foo-format-spec, according to the following syntax"

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

No branches or pull requests

1 participant