aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2005-11-06 13:07:11 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-11-06 13:07:11 +0000
commit3a4983938c7257386f0579f8b55f3ab616c52242 (patch)
treec45fabfbbfcce2c87c60c1ffe500aa4b48153a4d /libstdc++-v3
parent35059811529c8e32c37d0d38e5cbbec3feea4a0e (diff)
downloadgcc-3a4983938c7257386f0579f8b55f3ab616c52242.zip
gcc-3a4983938c7257386f0579f8b55f3ab616c52242.tar.gz
gcc-3a4983938c7257386f0579f8b55f3ab616c52242.tar.bz2
re PR libstdc++/18174 (documentation example for std::priority_queue usage)
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/stl_queue.h10
2 files changed, 10 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index da887c2e..27440c7 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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,
diff --git a/libstdc++-v3/include/bits/stl_queue.h b/libstdc++-v3/include/bits/stl_queue.h
index b076150..b7d03b8 100644
--- a/libstdc++-v3/include/bits/stl_queue.h
+++ b/libstdc++-v3/include/bits/stl_queue.h
@@ -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.