]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/18174 (documentation example for std::priority_queue usage)
authorPaolo Carlini <pcarlini@suse.de>
Sun, 6 Nov 2005 13:07:11 +0000 (13:07 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 6 Nov 2005 13:07:11 +0000 (13:07 +0000)
2005-11-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/18174
* include/bits/stl_queue.h (priority_queue): Tweak a bit the
comment describing the container.

From-SVN: r106560

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_queue.h

index da887c2e44188d32d24e0357e6073f221485d475..27440c746f87f31e2e30e6283405aa1661d64134 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-06  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/18174
+       * include/bits/stl_queue.h (priority_queue): Tweak a bit the
+       comment describing the container.
+
 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
 
        * configure.host: Add | rs6000 to the cpu_defines_dir switch,
index b076150158e7dee7ea23c4d4fd5d8a81c3773160..b7d03b8ab2c6638711a727ababa6c2448ddd0c70 100644 (file)
@@ -304,10 +304,9 @@ namespace std
    *
    *  This is not a true container, but an @e adaptor.  It holds
    *  another container, and provides a wrapper interface to that
-   *  container.  The wrapper is what enforces sorting and
-   *  first-in-first-out %queue behavior.  Very few of the standard
-   *  container/sequence interface requirements are met (e.g.,
-   *  iterators).
+   *  container.  The wrapper is what enforces priority-based sorting 
+   *  and %queue behavior.  Very few of the standard container/sequence
+   *  interface requirements are met (e.g., iterators).
    *
    *  The second template parameter defines the type of the underlying
    *  sequence/container.  It defaults to std::vector, but it can be
@@ -321,8 +320,7 @@ namespace std
    *
    *  Members not found in "normal" containers are @c container_type,
    *  which is a typedef for the second Sequence parameter, and @c
-   *  push, @c pop, and @c top, which are standard %queue/FIFO
-   *  operations.
+   *  push, @c pop, and @c top, which are standard %queue operations.
    *
    *  @note No equality/comparison operators are provided for
    *  %priority_queue.