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:
parent
4b63ff5894
commit
8be062c6da
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue