From df358a77e167ed5235d9aa0cf68a319608f634bb Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 5 Oct 2024 13:32:43 +0100 Subject: [PATCH] [priqueue.cons.alloc] Add missing initialization for comp This is consistent with p2 and p8 which also value-initialize it. --- source/containers.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index fc85658ffd..b9af52f259 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -15285,8 +15285,9 @@ \pnum \effects Initializes -\tcode{c} with \tcode{ranges::to(std::forward(rg), a)}; -calls \tcode{make_heap(c.\linebreak begin(), c.end(), comp)}. +\tcode{c} with \tcode{ranges::to(std::forward(rg), a)} +and value-initializes \tcode{comp}; +calls \tcode{make_heap(c.begin(), c.end(), comp)}. \end{itemdescr} \rSec3[priqueue.members]{Members}