Add priority_queue::value_compare (LWG 2684)

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

From-SVN: r236646
This commit is contained in:
Jonathan Wakely 2016-05-24 16:59:05 +01:00 committed by Jonathan Wakely
parent 4b63ff5894
commit 8be062c6da
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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.