Skip to content

Commit 90720a3

Browse files
frederick-vs-jatkoeppe
authored andcommitted
[queue.syn] Show formatter specializations in the synopsis
1 parent 17c0992 commit 90720a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/containers.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13682,6 +13682,10 @@
1368213682
template<class T, class Container, class Alloc>
1368313683
struct uses_allocator<queue<T, Container>, Alloc>;
1368413684

13685+
// \ref{container.adaptors.format}, formatter specialization for \tcode{queue}
13686+
template<class charT, class T, @\libconcept{formattable}@<charT> Container>
13687+
struct formatter<queue<T, Container>, charT>;
13688+
1368513689
// \ref{priority.queue}, class template \tcode{priority_queue}
1368613690
template<class T, class Container = vector<T>,
1368713691
class Compare = less<typename Container::value_type>>
@@ -13692,6 +13696,10 @@
1369213696
priority_queue<T, Container, Compare>& y) noexcept(noexcept(x.swap(y)));
1369313697
template<class T, class Container, class Compare, class Alloc>
1369413698
struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>;
13699+
13700+
// \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue}
13701+
template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare>
13702+
struct formatter<priority_queue<T, Container, Compare>, charT>;
1369513703
}
1369613704
\end{codeblock}
1369713705

0 commit comments

Comments
 (0)