forward_list.h: Slightly tweak two comments.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 23 Mar 2012 13:26:49 +0000 (13:26 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 23 Mar 2012 13:26:49 +0000 (13:26 +0000)
2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h: Slightly tweak two comments.

From-SVN: r185737

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

index 3e2a24e4b4df2158d968c787dda5b2d1859ef5cb..aaf05e24069160297ceaa07b03ec11801818c736 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/forward_list.h: Slightly tweak two comments.
+
 2012-03-22  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/Makefile.am: XML output names have only .xml suffix.
index cd75bfc5eef65e907b5e326ec3894b2eb8b80691..01020c5e933142e0a559705bcf3e1f13fd5a1860 100644 (file)
@@ -536,8 +536,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
        *  @param  __al  An allocator object.
        *
        *  Create a %forward_list consisting of copies of the elements
-       *  in the initializer_list @a __il.  This is linear in the number
-       *  of elements of __il.
+       *  in the initializer_list @a __il.  This is linear in __il.size().
        */
       forward_list(std::initializer_list<_Tp> __il,
                    const _Alloc& __al = _Alloc())
@@ -586,7 +585,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
        *
        *  Replace the contents of the %forward_list with copies of the
        *  elements in the initializer_list @a __il.  This is linear in
-       *  the number of elements of __il.
+       *  __il.size().
        */
       forward_list&
       operator=(std::initializer_list<_Tp> __il)