Implements:
- LWG3721 Allow an arg-id with a value of zero for width in std-format-spec
| Paths 
 |  Differential  D130649  
[libc++][format] Allows width arg-id with value 0. ClosedPublic Authored by Mordante on Jul 27 2022, 10:19 AM. 
Details 
 Summary Implements: 
 
Diff Detail 
 Event TimelineComment Actions One check less, yay! 
 Comment Actions Thanks for the review! 
 Comment Actions 
 I'm actually surprised how fast this issue went through LWG :-) Comment Actions 
 Move Fast and Break ABI This revision is now accepted and ready to land.Aug 31 2022, 9:31 AM This revision was landed with ongoing or failed builds.Aug 31 2022, 10:19 AM Closed by commit rG36e0e2c48544: [libc++][format] Allows width arg-id with value 0. (authored by Mordante).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 457012 libcxx/docs/Status/Cxx2bIssues.csv
 libcxx/include/__format/parser_std_format_spec.h
 libcxx/test/std/utilities/format/format.functions/format_tests.h
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
As before, I'd recommend getting rid of template operator()<...> in favor of something more readable like a normal function call.