Skip to content

Commit 08b167d

Browse files
authored
[priqueue.cons.alloc] Add missing initialization for comp (#7291)
This is consistent with p2 and p8 which also value-initialize it.
1 parent 2920bad commit 08b167d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/containers.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15285,8 +15285,9 @@
1528515285
\pnum
1528615286
\effects
1528715287
Initializes
15288-
\tcode{c} with \tcode{ranges::to<Container>(std::forward<R>(rg), a)};
15289-
calls \tcode{make_heap(c.\linebreak begin(), c.end(), comp)}.
15288+
\tcode{c} with \tcode{ranges::to<Container>(std::forward<R>(rg), a)}
15289+
and value-initializes \tcode{comp};
15290+
calls \tcode{make_heap(c.begin(), c.end(), comp)}.
1529015291
\end{itemdescr}
1529115292

1529215293
\rSec3[priqueue.members]{Members}

0 commit comments

Comments
 (0)