|
9862 | 9862 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9863 | 9863 |
|
9864 | 9864 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9865 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9866 | | - struct formatter<T, charT>; |
| 9865 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9866 | + struct formatter<T, CharT>; |
9867 | 9867 | } |
9868 | 9868 | \end{codeblock} |
9869 | 9869 |
|
@@ -10759,11 +10759,11 @@ |
10759 | 10759 | \indexlibraryglobal{formatter}% |
10760 | 10760 | \begin{codeblock} |
10761 | 10761 | namespace std { |
10762 | | - template<class T, class charT> |
| 10762 | + template<class T, class CharT> |
10763 | 10763 | requires @\exposid{is-vector-bool-reference}@<T> |
10764 | | - struct formatter<T, charT> { |
| 10764 | + struct formatter<T, CharT> { |
10765 | 10765 | private: |
10766 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10766 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10767 | 10767 |
|
10768 | 10768 | public: |
10769 | 10769 | template<class ParseContext> |
|
15719 | 15719 | struct uses_allocator<queue<T, Container>, Alloc>; |
15720 | 15720 |
|
15721 | 15721 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15722 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15723 | | - struct formatter<queue<T, Container>, charT>; |
| 15722 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15723 | + struct formatter<queue<T, Container>, CharT>; |
15724 | 15724 |
|
15725 | 15725 | template<class T, class Container> |
15726 | 15726 | constexpr bool enable_nonlocking_formatter_optimization<queue<T, Container>> = false; |
|
15737 | 15737 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15738 | 15738 |
|
15739 | 15739 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15740 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15741 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15740 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15741 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15742 | 15742 |
|
15743 | 15743 | template<class T, class Container, class Compare> |
15744 | 15744 | constexpr bool |
|
16652 | 16652 | struct uses_allocator<stack<T, Container>, Alloc>; |
16653 | 16653 |
|
16654 | 16654 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16655 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16656 | | - struct formatter<stack<T, Container>, charT>; |
| 16655 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16656 | + struct formatter<stack<T, Container>, CharT>; |
16657 | 16657 |
|
16658 | 16658 | template<class T, class Container> |
16659 | 16659 | constexpr bool enable_nonlocking_formatter_optimization<stack<T, Container>> = false; |
@@ -20335,15 +20335,15 @@ |
20335 | 20335 | \indexlibraryglobal{formatter}% |
20336 | 20336 | \begin{codeblock} |
20337 | 20337 | namespace std { |
20338 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20339 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20338 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20339 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20340 | 20340 | private: |
20341 | 20341 | using @\exposid{maybe-const-container}@ = // \expos |
20342 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20342 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20343 | 20343 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20344 | 20344 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20345 | 20345 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20346 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20346 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20347 | 20347 |
|
20348 | 20348 | public: |
20349 | 20349 | template<class ParseContext> |
|
0 commit comments