Skip to content

Commit

Permalink
[queue.syn] Show formatter specializations in the synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja authored and tkoeppe committed Nov 8, 2023
1 parent 17c0992 commit 90720a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13682,6 +13682,10 @@
template<class T, class Container, class Alloc>
struct uses_allocator<queue<T, Container>, Alloc>;

// \ref{container.adaptors.format}, formatter specialization for \tcode{queue}
template<class charT, class T, @\libconcept{formattable}@<charT> Container>
struct formatter<queue<T, Container>, charT>;

// \ref{priority.queue}, class template \tcode{priority_queue}
template<class T, class Container = vector<T>,
class Compare = less<typename Container::value_type>>
Expand All @@ -13692,6 +13696,10 @@
priority_queue<T, Container, Compare>& y) noexcept(noexcept(x.swap(y)));
template<class T, class Container, class Compare, class Alloc>
struct uses_allocator<priority_queue<T, Container, Compare>, Alloc>;

// \ref{container.adaptors.format}, formatter specialization for \tcode{priority_queue}
template<class charT, class T, @\libconcept{formattable}@<charT> Container, class Compare>
struct formatter<priority_queue<T, Container, Compare>, charT>;
}
\end{codeblock}

Expand Down

0 comments on commit 90720a3

Please sign in to comment.