diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-03-23 13:26:49 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-03-23 13:26:49 +0000 |
commit | 21669dfe20db0246ece395db5558a081a5c7088f (patch) | |
tree | e53c8bc42ea8b687ec4c530e866c46c467eaf9d1 /libstdc++-v3 | |
parent | d01f346b7535734897b3f01871b7ab254def94b4 (diff) | |
download | gcc-21669dfe20db0246ece395db5558a081a5c7088f.zip gcc-21669dfe20db0246ece395db5558a081a5c7088f.tar.gz gcc-21669dfe20db0246ece395db5558a081a5c7088f.tar.bz2 |
forward_list.h: Slightly tweak two comments.
2012-03-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h: Slightly tweak two comments.
From-SVN: r185737
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 3e2a24e..aaf05e2 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 cd75bfc..01020c5 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) |