Commit 8be062c6 by Jonathan Wakely Committed by Jonathan Wakely

Add priority_queue::value_compare (LWG 2684)

	* include/bits/stl_queue.h (priority_queue::value_compare): Define.

From-SVN: r236646
parent 4b63ff58
2016-05-24 Jonathan Wakely <jwakely@redhat.com>
* include/bits/stl_queue.h (priority_queue::value_compare): Define.
2016-05-23 François Dumont <fdumont@gcc.gnu.org>
* include/debug/safe_iterator.h
......
......@@ -417,6 +417,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef typename _Sequence::const_reference const_reference;
typedef typename _Sequence::size_type size_type;
typedef _Sequence container_type;
// _GLIBCXX_RESOLVE_LIB_DEFECTS
// DR 2684. priority_queue lacking comparator typedef
typedef _Compare value_compare;
protected:
// See queue::c for notes on these names.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment