priority_queuetaking allocators should call
Section: 18.104.22.168 [priqueue.cons.alloc] Status: C++17 Submitter: Eric Schmidt Opened: 2015-09-19 Last modified: 2017-07-30
View all issues with C++17 status.
priority_queue constructors taking both
Alloc arguments should
finish by calling
make_heap, just as with the constructors that do not have allocator parameters.
[2015-10, Kona issue prioritization]
Priority 0, move to Ready
This wording is relative to N4527.
Change 22.214.171.124 [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.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.