Title
priority_queue lacking comparator typedef
Status
c++17
Section
[priority.queue]
Submitter
Robert Haberlach

Created on 2016-05-02.00:00:00 last changed 90 months ago

Messages

Date: 2016-05-03.16:09:43

Proposed resolution:

Augment [priority.queue] as indicated:

 typedef Container container_type;
 typedef Compare value_compare;

Date: 2016-05-02.00:00:00

The containers that take a comparison functor (set, multiset, map, and multimap) have a typedef for the comparison functor. priority_queue does not.

History
Date User Action Args
2017-07-30 20:15:43adminsetstatus: wp -> c++17
2016-06-28 12:50:44adminsetstatus: ready -> wp
2016-05-22 15:38:38adminsetstatus: new -> ready
2016-05-03 16:09:43adminsetmessages: + msg8065
2016-05-02 00:00:00admincreate