gcc/libstdc++-v3/testsuite/23_containers/priority_queue
Jonathan Wakely 1f4dcbf7cd LWG 2537 fix priority_queue constructors to establish invariant
This change is safe to make now (in stage 4), because the constructors
are currently incorrect and unusable (unless the supplied container
already contains a heap, in which case the new make_heap calls are
redundant but harmless).

	* doc/xml/manual/intro.xml: Document LWG 2537 status.
	* include/bits/stl_queue.h
	(priority_queue(const Compare&, const Container&, const Alloc&))
	(priority_queue(const Compare&, Container&&, const Alloc&)): Call
	make_heap.
	* testsuite/23_containers/priority_queue/dr2537.cc: New test.

From-SVN: r268878
2019-02-14 14:10:19 +00:00
..
members
requirements
67085.cc
77528.cc
allocator.cc
deduction.cc PR libstdc++/89128 add deduction guides for container adaptors 2019-02-05 22:58:22 +00:00
dr2537.cc LWG 2537 fix priority_queue constructors to establish invariant 2019-02-14 14:10:19 +00:00
moveable.cc