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

fix [locale.numpunct] to use the same presentation for its grammar as the rest of the standard #3100

Closed
zygoloid opened this issue Jul 29, 2019 · 1 comment · Fixed by #3174
Assignees

Comments

@zygoloid
Copy link
Member

The syntax for number formats is as follows, where digit represents the radix set specified by the fmtflags argument value, and thousands-sep and decimal-point are the results of corresponding numpunct<charT> members. Integer values have the format:

    integer ::= [sign] units
    sign ::= plusminus
    plusminus ::= ’+’ | ’-’
    units ::= digits [thousands-sep units]
    digits ::= digit [digits]

[...]

This notation is defined nowhere and is different from how we represent all our other grammars. It also got copied into P0645R10 (2019-07 LWG Motion 5), but I'm fixing that as part of applying the motion.

@zygoloid
Copy link
Member Author

Also [locale.moneypunct].

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 a pull request may close this issue.

2 participants