]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Implement LWG 3506 for std::priority_queue
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 May 2021 13:30:26 +0000 (14:30 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Oct 2021 19:36:55 +0000 (20:36 +0100)
commit6ccffeb56b92041991aba923545532087e1977f5
treee9ff8f545b5c312140c45f3dbf6b1c1be89ba986
parente79bde6ada42a47b0a266f1cc85efb2eed44e45a
libstdc++: Implement LWG 3506 for std::priority_queue

The LWG 3506 issue ads allocator-extended versions of the constructors
that take iterator arguments.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/stl_queue.h (priority_queue): Add
allocator-extended overloads for constructors taking iterator.
* testsuite/23_containers/priority_queue/lwg3506.cc: New test.
libstdc++-v3/include/bits/stl_queue.h
libstdc++-v3/testsuite/23_containers/priority_queue/lwg3506.cc [new file with mode: 0644]
This page took 0.061819 seconds and 6 git commands to generate.