|
9821 | 9821 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9822 | 9822 |
|
9823 | 9823 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9824 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9825 | | - struct formatter<T, charT>; |
| 9824 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9825 | + struct formatter<T, CharT>; |
9826 | 9826 | } |
9827 | 9827 | \end{codeblock} |
9828 | 9828 |
|
@@ -10653,11 +10653,11 @@ |
10653 | 10653 | \indexlibraryglobal{formatter}% |
10654 | 10654 | \begin{codeblock} |
10655 | 10655 | namespace std { |
10656 | | - template<class T, class charT> |
| 10656 | + template<class T, class CharT> |
10657 | 10657 | requires @\exposid{is-vector-bool-reference}@<T> |
10658 | | - struct formatter<T, charT> { |
| 10658 | + struct formatter<T, CharT> { |
10659 | 10659 | private: |
10660 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10660 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10661 | 10661 |
|
10662 | 10662 | public: |
10663 | 10663 | template<class ParseContext> |
|
15619 | 15619 | struct uses_allocator<queue<T, Container>, Alloc>; |
15620 | 15620 |
|
15621 | 15621 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15622 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15623 | | - struct formatter<queue<T, Container>, charT>; |
| 15622 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15623 | + struct formatter<queue<T, Container>, CharT>; |
15624 | 15624 |
|
15625 | 15625 | // \ref{priority.queue}, class template \tcode{priority_queue} |
15626 | 15626 | template<class T, class Container = vector<T>, |
|
15634 | 15634 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15635 | 15635 |
|
15636 | 15636 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15637 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15638 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15637 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15638 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15639 | 15639 | } |
15640 | 15640 | \end{codeblock} |
15641 | 15641 |
|
|
16545 | 16545 | struct uses_allocator<stack<T, Container>, Alloc>; |
16546 | 16546 |
|
16547 | 16547 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16548 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16549 | | - struct formatter<stack<T, Container>, charT>; |
| 16548 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16549 | + struct formatter<stack<T, Container>, CharT>; |
16550 | 16550 | } |
16551 | 16551 | \end{codeblock} |
16552 | 16552 |
|
@@ -20098,15 +20098,15 @@ |
20098 | 20098 | \indexlibraryglobal{formatter}% |
20099 | 20099 | \begin{codeblock} |
20100 | 20100 | namespace std { |
20101 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20102 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20101 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20102 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20103 | 20103 | private: |
20104 | 20104 | using @\exposid{maybe-const-container}@ = // \expos |
20105 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20105 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20106 | 20106 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20107 | 20107 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20108 | 20108 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20109 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20109 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20110 | 20110 |
|
20111 | 20111 | public: |
20112 | 20112 | template<class ParseContext> |
|
0 commit comments