Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4dde166
Add `range_formatter`
JMazurkiewicz Apr 28, 2024
2e4fbbd
Rearrange entries in `expected_results.txt`
JMazurkiewicz Apr 30, 2024
f3e0e5e
Use `_Is_two_tuple` and remove `_Pair_like_with_formatter`
JMazurkiewicz Apr 30, 2024
2102ddd
Use `size_t` instead of `_String_view::size_type`
JMazurkiewicz Apr 30, 2024
2363bde
Remove `_String_view` alias
JMazurkiewicz Apr 30, 2024
5d2d147
Rename `_String_formatter` to `_String_view_formatter`
JMazurkiewicz Apr 30, 2024
bfabe6e
Add `if constexpr` to verify if `max(SignedLike) > max(size_t)`
JMazurkiewicz Apr 30, 2024
af78d8e
Fix condition `_Size >= _Size_t_max` => `_Size > _Size_t_max`
JMazurkiewicz Apr 30, 2024
adc5f8d
Fix parsing of `range-fill-and-align`
JMazurkiewicz May 2, 2024
783cd70
Merge remote-tracking branch 'upstream/main' into format/ranges
JMazurkiewicz May 2, 2024
753a515
Fix formatting
JMazurkiewicz May 2, 2024
2c5a252
`check_setters` -> `check_other_functions`
JMazurkiewicz May 14, 2024
ac8b925
Fix `range_formatter` for arbitrary format context
JMazurkiewicz May 14, 2024
24cdb13
Remove unnecessary `if` from `_Parse_range_specs`
JMazurkiewicz May 15, 2024
58c123f
Cleanup `check_range_formatter_with_arbitrary_context`
JMazurkiewicz May 15, 2024
e993011
Remove unnecessary call to `set_separator` from `range_formatter::parse`
JMazurkiewicz May 15, 2024
a0cc0c3
Fix order of actions in `range_formatter::parse`
JMazurkiewicz May 15, 2024
5e00dba
Merge remote-tracking branch 'upstream/main' into format/ranges
JMazurkiewicz May 25, 2024
f163372
Use `_Measure_display_width`
JMazurkiewicz May 26, 2024
c931c77
Address #4636
JMazurkiewicz May 26, 2024
8f60263
Add `_EXPORT_STD`
JMazurkiewicz May 27, 2024
05408d2
Always `break`, even for the last `case`.
StephanTLavavej May 29, 2024
875f9ce
Use `back_insert_iterator` CTAD.
StephanTLavavej May 29, 2024
60c261e
Flip test, avoid dead code with `if constexpr { } else { }`.
StephanTLavavej May 29, 2024
2132330
Mark `underlying()` as `_NODISCARD`.
StephanTLavavej May 29, 2024
b6c4d5e
Add `const`.
StephanTLavavej May 29, 2024
ee614c0
Simplify with `in_range`.
StephanTLavavej May 29, 2024
6f245a8
Improve messages, flip and split tests.
StephanTLavavej May 29, 2024
8a79bcc
Simplify `_Parse_range_specs` to always take `_Range_specs_setter<_Ch…
StephanTLavavej May 29, 2024
5027c57
`Debugable` => `Debuggable`
StephanTLavavej May 29, 2024
cd9efc2
Work around MSVC compiler bug.
StephanTLavavej May 29, 2024
d7c5a0b
Include more headers.
StephanTLavavej May 29, 2024
e0a73f2
Construct `format_error` with braces.
StephanTLavavej May 29, 2024
bba1416
Drop duplicated line.
StephanTLavavej May 29, 2024
690ae85
Order vs. chaos.
StephanTLavavej May 29, 2024
bd4704a
Fix missing `set_separator` for 'm', and test it.
StephanTLavavej May 29, 2024
b71b448
Reduce compiler memory consumption for the instantiation test.
StephanTLavavej May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add _EXPORT_STD
  • Loading branch information
JMazurkiewicz committed May 27, 2024
commit 8f602638897fbdcfbf667d34d666173aaa7b13d2
2 changes: 1 addition & 1 deletion stl/inc/format
Original file line number Diff line number Diff line change
Expand Up @@ -4430,7 +4430,7 @@ _NODISCARD constexpr const _CharT* _Parse_range_specs(
return _Begin;
}

template <class _Ty, class _CharT = char>
_EXPORT_STD template <class _Ty, class _CharT = char>
requires same_as<remove_cvref_t<_Ty>, _Ty> && formattable<_Ty, _CharT>
class range_formatter {
private:
Expand Down