|
9838 | 9838 | template<class Allocator> struct hash<vector<bool, Allocator>>; |
9839 | 9839 |
|
9840 | 9840 | // \ref{vector.bool.fmt}, formatter specialization for \tcode{vector<bool>} |
9841 | | - template<class T, class charT> requires @\exposid{is-vector-bool-reference}@<T> |
9842 | | - struct formatter<T, charT>; |
| 9841 | + template<class T, class CharT> requires @\exposid{is-vector-bool-reference}@<T> |
| 9842 | + struct formatter<T, CharT>; |
9843 | 9843 | } |
9844 | 9844 | \end{codeblock} |
9845 | 9845 |
|
@@ -10723,11 +10723,11 @@ |
10723 | 10723 | \indexlibraryglobal{formatter}% |
10724 | 10724 | \begin{codeblock} |
10725 | 10725 | namespace std { |
10726 | | - template<class T, class charT> |
| 10726 | + template<class T, class CharT> |
10727 | 10727 | requires @\exposid{is-vector-bool-reference}@<T> |
10728 | | - struct formatter<T, charT> { |
| 10728 | + struct formatter<T, CharT> { |
10729 | 10729 | private: |
10730 | | - formatter<bool, charT> @\exposid{underlying_}@; // \expos |
| 10730 | + formatter<bool, CharT> @\exposid{underlying_}@; // \expos |
10731 | 10731 |
|
10732 | 10732 | public: |
10733 | 10733 | template<class ParseContext> |
|
15698 | 15698 | struct uses_allocator<queue<T, Container>, Alloc>; |
15699 | 15699 |
|
15700 | 15700 | // \ref{container.adaptors.format}, formatter specialization for \tcode{queue} |
15701 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15702 | | - struct formatter<queue<T, Container>, charT>; |
| 15701 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 15702 | + struct formatter<queue<T, Container>, CharT>; |
15703 | 15703 |
|
15704 | 15704 | template<class T, class Container> |
15705 | 15705 | constexpr bool enable_nonlocking_formatter_optimization<queue<T, Container>> = false; |
|
15716 | 15716 | struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>; |
15717 | 15717 |
|
15718 | 15718 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15719 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15720 | | - struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15719 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class Compare> |
| 15720 | + struct formatter<priority_queue<T, Container, Compare>, CharT>; |
15721 | 15721 |
|
15722 | 15722 | template<class T, class Container, class Compare> |
15723 | 15723 | constexpr bool |
|
16631 | 16631 | struct uses_allocator<stack<T, Container>, Alloc>; |
16632 | 16632 |
|
16633 | 16633 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16634 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16635 | | - struct formatter<stack<T, Container>, charT>; |
| 16634 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container> |
| 16635 | + struct formatter<stack<T, Container>, CharT>; |
16636 | 16636 |
|
16637 | 16637 | template<class T, class Container> |
16638 | 16638 | constexpr bool enable_nonlocking_formatter_optimization<stack<T, Container>> = false; |
@@ -20314,15 +20314,15 @@ |
20314 | 20314 | \indexlibraryglobal{formatter}% |
20315 | 20315 | \begin{codeblock} |
20316 | 20316 | namespace std { |
20317 | | - template<class charT, class T, @\libconcept{formattable}@<charT> Container, class... U> |
20318 | | - struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, charT> { |
| 20317 | + template<class CharT, class T, @\libconcept{formattable}@<CharT> Container, class... U> |
| 20318 | + struct formatter<@\placeholder{adaptor-type}@<T, Container, U...>, CharT> { |
20319 | 20319 | private: |
20320 | 20320 | using @\exposid{maybe-const-container}@ = // \expos |
20321 | | - @\exposid{fmt-maybe-const}@<Container, charT>; |
| 20321 | + @\exposid{fmt-maybe-const}@<Container, CharT>; |
20322 | 20322 | using @\exposid{maybe-const-adaptor}@ = // \expos |
20323 | 20323 | @\exposid{maybe-const}@<is_const_v<@\exposid{maybe-const-container}@>, // see \ref{ranges.syn} |
20324 | 20324 | @\placeholder{adaptor-type}@<T, Container, U...>>; |
20325 | | - formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, charT> @\exposid{underlying_}@; // \expos |
| 20325 | + formatter<ranges::ref_view<@\exposid{maybe-const-container}@>, CharT> @\exposid{underlying_}@; // \expos |
20326 | 20326 |
|
20327 | 20327 | public: |
20328 | 20328 | template<class ParseContext> |
|
0 commit comments