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.
Section: 23.6.4 [priority.queue] Status: C++17 Submitter: Robert Haberlach Opened: 2016-05-02 Last modified: 2017-07-30
Priority: 0
View all other issues in [priority.queue].
View all issues with C++17 status.
Discussion:
The containers that take a comparison functor (set
, multiset
,
map
, and multimap
) have a typedef for the comparison functor.
priority_queue
does not.
Proposed resolution:
Augment [priority.queue] as indicated:
typedef Container container_type; typedef Compare value_compare;