Repository navigation
Add range_formatter
#4642
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
Merged
Stephan T. Lavavej (StephanTLavavej)
merged 37 commits into
microsoft:main
from
JMazurkiewicz:format/ranges
May 30, 2024
Merged
Add range_formatter
#4642
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4dde166
Add `range_formatter`
JMazurkiewicz 2e4fbbd
Rearrange entries in `expected_results.txt`
JMazurkiewicz f3e0e5e
Use `_Is_two_tuple` and remove `_Pair_like_with_formatter`
JMazurkiewicz 2102ddd
Use `size_t` instead of `_String_view::size_type`
JMazurkiewicz 2363bde
Remove `_String_view` alias
JMazurkiewicz 5d2d147
Rename `_String_formatter` to `_String_view_formatter`
JMazurkiewicz bfabe6e
Add `if constexpr` to verify if `max(SignedLike) > max(size_t)`
JMazurkiewicz af78d8e
Fix condition `_Size >= _Size_t_max` => `_Size > _Size_t_max`
JMazurkiewicz adc5f8d
Fix parsing of `range-fill-and-align`
JMazurkiewicz 783cd70
Merge remote-tracking branch 'upstream/main' into format/ranges
JMazurkiewicz 753a515
Fix formatting
JMazurkiewicz 2c5a252
`check_setters` -> `check_other_functions`
JMazurkiewicz ac8b925
Fix `range_formatter` for arbitrary format context
JMazurkiewicz 24cdb13
Remove unnecessary `if` from `_Parse_range_specs`
JMazurkiewicz 58c123f
Cleanup `check_range_formatter_with_arbitrary_context`
JMazurkiewicz e993011
Remove unnecessary call to `set_separator` from `range_formatter::parse`
JMazurkiewicz a0cc0c3
Fix order of actions in `range_formatter::parse`
JMazurkiewicz 5e00dba
Merge remote-tracking branch 'upstream/main' into format/ranges
JMazurkiewicz f163372
Use `_Measure_display_width`
JMazurkiewicz c931c77
Address #4636
JMazurkiewicz 8f60263
Add `_EXPORT_STD`
JMazurkiewicz 05408d2
Always `break`, even for the last `case`.
StephanTLavavej 875f9ce
Use `back_insert_iterator` CTAD.
StephanTLavavej 60c261e
Flip test, avoid dead code with `if constexpr { } else { }`.
StephanTLavavej 2132330
Mark `underlying()` as `_NODISCARD`.
StephanTLavavej b6c4d5e
Add `const`.
StephanTLavavej ee614c0
Simplify with `in_range`.
StephanTLavavej 6f245a8
Improve messages, flip and split tests.
StephanTLavavej 8a79bcc
Simplify `_Parse_range_specs` to always take `_Range_specs_setter<_Ch…
StephanTLavavej 5027c57
`Debugable` => `Debuggable`
StephanTLavavej cd9efc2
Work around MSVC compiler bug.
StephanTLavavej d7c5a0b
Include more headers.
StephanTLavavej e0a73f2
Construct `format_error` with braces.
StephanTLavavej bba1416
Drop duplicated line.
StephanTLavavej 690ae85
Order vs. chaos.
StephanTLavavej bd4704a
Fix missing `set_separator` for 'm', and test it.
StephanTLavavej b71b448
Reduce compiler memory consumption for the instantiation test.
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix missing
set_separator for 'm', and test it.
Verified that the new test coverage fails without the fix.
- Loading branch information
commit bd4704ab29797697f5247c84cc5ad0f49986e8bf
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.