STL
STL copied to clipboard
Add `range_formatter`
- Remove
used by pair, tuple, (...)comment from_Fill_align_and_width_specs- it no longer serves its purpose. - Make
_Fill_align_and_width_specs_setter<T>::_Specsmember variable protected, so that we can create derived_Range_specs_setter. - Implement
range_formatter:range_formatter::formatcan be used at runtime only if format context's output iterator isback_insert_iterator<_Fmt_buffer<T>>. Creation of nestedbasic_format_contextrequires copying format args from oldcontext<X>tocontext<Y>andXandYhave to be the same type to do this. This should not be a problem anyway, sincebasic_format_contextcan be constructed only by the standard library.- Towards #2919.