|
15627 | 15627 | template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
15628 | 15628 | struct formatter<queue<T, Container>, charT>; |
15629 | 15629 |
|
| 15630 | + template<class T, class Container> |
| 15631 | + constexpr bool enable_nonlocking_formatter_optimization<queue<T, Container>> = false; |
| 15632 | + |
15630 | 15633 | // \ref{priority.queue}, class template \tcode{priority_queue} |
15631 | 15634 | template<class T, class Container = vector<T>, |
15632 | 15635 | class Compare = less<typename Container::value_type>> |
|
15641 | 15644 | // \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue} |
15642 | 15645 | template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare> |
15643 | 15646 | struct formatter<priority_queue<T, Container, Compare>, charT>; |
| 15647 | + |
| 15648 | + template<class T, class Container, class Compare> |
| 15649 | + constexpr bool |
| 15650 | + enable_nonlocking_formatter_optimization<priority_queue<T, Container, Compare>> = false; |
15644 | 15651 | } |
15645 | 15652 | \end{codeblock} |
15646 | 15653 |
|
|
16552 | 16559 | // \ref{container.adaptors.format}, formatter specialization for \tcode{stack} |
16553 | 16560 | template<class charT, class T, @\libconcept{formattable}@<charT> Container> |
16554 | 16561 | struct formatter<stack<T, Container>, charT>; |
| 16562 | + |
| 16563 | + template<class T, class Container> |
| 16564 | + constexpr bool enable_nonlocking_formatter_optimization<stack<T, Container>> = false; |
16555 | 16565 | } |
16556 | 16566 | \end{codeblock} |
16557 | 16567 |
|
|
0 commit comments