This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
priority_queuetaking allocators should call
Section: 184.108.40.206 [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 220.127.116.11 [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.