GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing cplusplus.github.io — Issue 2684: priority_queue lacking comparator typedef


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.

2684. priority_queue lacking comparator typedef

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;

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.