On 24/05/16 17:02 +0100, Jonathan Wakely wrote:
* include/bits/stl_queue.h (priority_queue::value_compare): Define.
This is only Tentatively Ready but I don't think there's any harm in
making the change now. Libc++ have been shipping this for years,
without realising it wasn't actually in the standard :-)
Tested x86_64, committed to trunk.
Now that the issue has been resolved I've documented it and
regenerated the docs.
Committed to trunk.
commit d86801688332d159d49bc55b7cd16d24ef3be423
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Jul 20 18:22:05 2016 +0000
Document LWG DR 2684 status and regenerate libstdc++ manual
* doc/xml/manual/intro.xml: Document DR 2684 status.
* doc/html/*: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238535 138bc75d-0d04-0410-961f-82ee72b054a4
diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml
index c6b0656..a5e0a3b 100644
--- a/libstdc++-v3/doc/xml/manual/intro.xml
+++ b/libstdc++-v3/doc/xml/manual/intro.xml
@@ -1052,6 +1052,12 @@ requirements of the license of GCC.
<listitem><para>Divide by the object type.
</para></listitem></varlistentry>
+ <varlistentry><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../ext/lwg-defects.html#2684">2684</link>:
+ <emphasis><code>priority_queue</code> lacking comparator typedef
+ </emphasis>
+ </term>
+ <listitem><para>Define the <code>value_compare</code> typedef.
+ </para></listitem></varlistentry>
</variablelist>