Created on 2015-09-19.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4527.
Change [priqueue.cons.alloc] as indicated:
template <class Alloc> priority_queue(const Compare& compare, const Container& cont, const Alloc& a);-4- Effects: Initializes c with cont as the first argument and a as the second argument, and initializes comp with compare; calls
make_heap(c.begin(), c.end(), comp)
.template <class Alloc> priority_queue(const Compare& compare, Container&& cont, const Alloc& a);-5- Effects: Initializes c with std::move(cont) as the first argument and a as the second argument, and initializes comp with compare; calls
make_heap(c.begin(), c.end(), comp)
.
[ 2015-10, Kona issue prioritization ]
Priority 0, move to Ready
priority_queue
constructors taking both Container
and Alloc
arguments should
finish by calling make_heap
, just as with the constructors that do not have allocator parameters.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-03-07 04:11:48 | admin | set | status: ready -> wp |
2015-11-04 18:48:42 | admin | set | messages: + msg7621 |
2015-11-04 18:48:42 | admin | set | status: new -> ready |
2015-09-21 20:06:59 | admin | set | messages: + msg7531 |
2015-09-19 00:00:00 | admin | create |