|
9826 | 9826 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9827 | 9827 |
|
9828 | 9828 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9829 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9830 | | - struct formatter<T, charT>; |
| 9829 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9830 | + struct formatter<T, CharT>; |
9831 | 9831 | } |
9832 | 9832 | \end{codeblock} |
9833 | 9833 |
|
@@ -10658,11 +10658,11 @@ |
10658 | 10658 | \indexlibraryglobal{formatter}% |
10659 | 10659 | \begin{codeblock} |
10660 | 10660 | namespace std { |
10661 | | - template<class T, class charT> |
| 10661 | + template<class T, class CharT> |
10662 | 10662 | requires @\exposid{is-vector-bool-reference}@<T> |
10663 | | - struct formatter<T, charT> { |
| 10663 | + struct formatter<T, CharT> { |
10664 | 10664 | private: |
10665 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10665 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10666 | 10666 |
|
10667 | 10667 | public: |
10668 | 10668 | template<class ParseContext> |
|
15624 | 15624 | struct uses_allocator<queue<T, Container>, Alloc>; |
15625 | 15625 |
|
15626 | 15626 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15627 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15628 | | - struct formatter<queue<T, Container>, charT>; |
| 15627 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15628 | + struct formatter<queue<T, Container>, CharT>; |
15629 | 15629 |
|
15630 | 15630 | // \ref{priority.queue}, class template \tcode{priority_queue} |
15631 | 15631 | template<class T, class Container = vector<T>, |
|
15639 | 15639 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15640 | 15640 |
|
15641 | 15641 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15642 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15643 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15642 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15643 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15644 | 15644 | } |
15645 | 15645 | \end{codeblock} |
15646 | 15646 |
|
|
16550 | 16550 | struct uses_allocator<stack<T, Container>, Alloc>; |
16551 | 16551 |
|
16552 | 16552 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16553 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16554 | | - struct formatter<stack<T, Container>, charT>; |
| 16553 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16554 | + struct formatter<stack<T, Container>, CharT>; |
16555 | 16555 | } |
16556 | 16556 | \end{codeblock} |
16557 | 16557 |
|
@@ -20103,15 +20103,15 @@ |
20103 | 20103 | \indexlibraryglobal{formatter}% |
20104 | 20104 | \begin{codeblock} |
20105 | 20105 | namespace std { |
20106 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20107 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20106 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20107 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20108 | 20108 | private: |
20109 | 20109 | using @\exposid{maybe-const-container}@ = // \expos |
20110 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20110 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20111 | 20111 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20112 | 20112 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20113 | 20113 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20114 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20114 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20115 | 20115 |
|
20116 | 20116 | public: |
20117 | 20117 | template<class ParseContext> |
|
0 commit comments