Title
Missing allocator-extended constructors for priority_queue
Status
new
Section
[priority.queue]
Submitter
Tim Song

Created on 2020-11-21.00:00:00 last changed 1 month ago

Messages

Date: 2020-11-15.00:00:00

[ 2020-11-29; Reflector prioritization ]

Set priority to 3 during reflector discussions. It has been pointed out that this issue is related to LWG 1199, LWG 2210, and LWG 2713.

Date: 2020-11-21.00:00:00

priority_queue has two constructor templates taking a pair of input iterators in addition to a comparator and a container, but it does not have allocator-extended constructors corresponding to these constructor templates:

template<class InputIterator>
  priority_queue(InputIterator first, InputIterator last, const Compare& x,
                 const Container&);
template<class InputIterator>
  priority_queue(InputIterator first, InputIterator last,
                 const Compare& x = Compare(), Container&& = Container());
History
Date User Action Args
2020-11-29 13:57:40adminsetmessages: + msg11636
2020-11-21 00:00:00admincreate