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