Skip to content

Commit 54dac0b

Browse files
author
Dawn Perchik
committed
LWG2537 Constructors for priority_queue taking allocators should call make_heap
1 parent 43a4a61 commit 54dac0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/containers.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8680,7 +8680,8 @@
86808680
\begin{itemdescr}
86818681
\pnum
86828682
\effects\ Initializes \tcode{c} with \tcode{cont} as the first argument and \tcode{a} as the second
8683-
argument, and initializes \tcode{comp} with \tcode{compare}.
8683+
argument, and initializes \tcode{comp} with \tcode{compare};
8684+
calls \tcode{make_heap(c.begin(), c.end(), comp)}.
86848685
\end{itemdescr}
86858686

86868687
\begin{itemdecl}
@@ -8691,7 +8692,8 @@
86918692
\begin{itemdescr}
86928693
\pnum
86938694
\effects\ Initializes \tcode{c} with \tcode{std::move(cont)} as the first argument and \tcode{a}
8694-
as the second argument, and initializes \tcode{comp} with \tcode{compare}.
8695+
as the second argument, and initializes \tcode{comp} with \tcode{compare};
8696+
calls \tcode{make_heap(c.begin(), c.end(), comp)}.
86958697
\end{itemdescr}
86968698

86978699
\begin{itemdecl}

0 commit comments

Comments
 (0)