|
9825 | 9825 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9826 | 9826 |
|
9827 | 9827 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9828 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9829 | | - struct formatter<T, charT>; |
| 9828 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9829 | + struct formatter<T, CharT>; |
9830 | 9830 | } |
9831 | 9831 | \end{codeblock} |
9832 | 9832 |
|
@@ -10656,11 +10656,11 @@ |
10656 | 10656 | \indexlibraryglobal{formatter}% |
10657 | 10657 | \begin{codeblock} |
10658 | 10658 | namespace std { |
10659 | | - template<class T, class charT> |
| 10659 | + template<class T, class CharT> |
10660 | 10660 | requires @\exposid{is-vector-bool-reference}@<T> |
10661 | | - struct formatter<T, charT> { |
| 10661 | + struct formatter<T, CharT> { |
10662 | 10662 | private: |
10663 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10663 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10664 | 10664 |
|
10665 | 10665 | public: |
10666 | 10666 | template<class ParseContext> |
|
15622 | 15622 | struct uses_allocator<queue<T, Container>, Alloc>; |
15623 | 15623 |
|
15624 | 15624 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15625 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15626 | | - struct formatter<queue<T, Container>, charT>; |
| 15625 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15626 | + struct formatter<queue<T, Container>, CharT>; |
15627 | 15627 |
|
15628 | 15628 | // \ref{priority.queue}, class template \tcode{priority_queue} |
15629 | 15629 | template<class T, class Container = vector<T>, |
|
15637 | 15637 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15638 | 15638 |
|
15639 | 15639 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15640 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15641 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15640 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15641 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15642 | 15642 | } |
15643 | 15643 | \end{codeblock} |
15644 | 15644 |
|
|
16548 | 16548 | struct uses_allocator<stack<T, Container>, Alloc>; |
16549 | 16549 |
|
16550 | 16550 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16551 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16552 | | - struct formatter<stack<T, Container>, charT>; |
| 16551 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16552 | + struct formatter<stack<T, Container>, CharT>; |
16553 | 16553 | } |
16554 | 16554 | \end{codeblock} |
16555 | 16555 |
|
@@ -20121,15 +20121,15 @@ |
20121 | 20121 | \indexlibraryglobal{formatter}% |
20122 | 20122 | \begin{codeblock} |
20123 | 20123 | namespace std { |
20124 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20125 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20124 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20125 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20126 | 20126 | private: |
20127 | 20127 | using @\exposid{maybe-const-container}@ = // \expos |
20128 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20128 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20129 | 20129 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20130 | 20130 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20131 | 20131 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20132 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20132 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20133 | 20133 |
|
20134 | 20134 | public: |
20135 | 20135 | template<class ParseContext> |
|
0 commit comments