diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-23 13:26:49 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-23 13:26:49 +0000 |
commit | 112dfe9f689af01c2dd00e0f153fc25d69095b6c (patch) | |
tree | e53c8bc42ea8b687ec4c530e866c46c467eaf9d1 /libstdc++-v3 | |
parent | a00d04d285f587d45ee106cd28af3a03702874c5 (diff) | |
download | gcc-112dfe9f689af01c2dd00e0f153fc25d69095b6c.tar.gz |
2012-03-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h: Slightly tweak two comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185737 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/forward_list.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3e2a24e4b4d..aaf05e24069 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/include/bits/forward_list.h b/libstdc++-v3/include/bits/forward_list.h index cd75bfc5eef..01020c5e933 100644 --- a/libstdc++-v3/include/bits/forward_list.h +++ b/libstdc++-v3/include/bits/forward_list.h @@ -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) |