|
9820 | 9820 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9821 | 9821 |
|
9822 | 9822 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9823 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9824 | | - struct formatter<T, charT>; |
| 9823 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9824 | + struct formatter<T, CharT>; |
9825 | 9825 | } |
9826 | 9826 | \end{codeblock} |
9827 | 9827 |
|
@@ -10652,11 +10652,11 @@ |
10652 | 10652 | \indexlibraryglobal{formatter}% |
10653 | 10653 | \begin{codeblock} |
10654 | 10654 | namespace std { |
10655 | | - template<class T, class charT> |
| 10655 | + template<class T, class CharT> |
10656 | 10656 | requires @\exposid{is-vector-bool-reference}@<T> |
10657 | | - struct formatter<T, charT> { |
| 10657 | + struct formatter<T, CharT> { |
10658 | 10658 | private: |
10659 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10659 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10660 | 10660 |
|
10661 | 10661 | public: |
10662 | 10662 | template<class ParseContext> |
|
15618 | 15618 | struct uses_allocator<queue<T, Container>, Alloc>; |
15619 | 15619 |
|
15620 | 15620 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15621 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15622 | | - struct formatter<queue<T, Container>, charT>; |
| 15621 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15622 | + struct formatter<queue<T, Container>, CharT>; |
15623 | 15623 |
|
15624 | 15624 | // \ref{priority.queue}, class template \tcode{priority_queue} |
15625 | 15625 | template<class T, class Container = vector<T>, |
|
15633 | 15633 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15634 | 15634 |
|
15635 | 15635 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15636 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15637 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15636 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15637 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15638 | 15638 | } |
15639 | 15639 | \end{codeblock} |
15640 | 15640 |
|
|
16544 | 16544 | struct uses_allocator<stack<T, Container>, Alloc>; |
16545 | 16545 |
|
16546 | 16546 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16547 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16548 | | - struct formatter<stack<T, Container>, charT>; |
| 16547 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16548 | + struct formatter<stack<T, Container>, CharT>; |
16549 | 16549 | } |
16550 | 16550 | \end{codeblock} |
16551 | 16551 |
|
@@ -20118,15 +20118,15 @@ |
20118 | 20118 | \indexlibraryglobal{formatter}% |
20119 | 20119 | \begin{codeblock} |
20120 | 20120 | namespace std { |
20121 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20122 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20121 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20122 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20123 | 20123 | private: |
20124 | 20124 | using @\exposid{maybe-const-container}@ = // \expos |
20125 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20125 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20126 | 20126 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20127 | 20127 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20128 | 20128 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20129 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20129 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20130 | 20130 |
|
20131 | 20131 | public: |
20132 | 20132 | template<class ParseContext> |
|
0 commit comments