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 + + * include/bits/forward_list.h: Slightly tweak two comments. + 2012-03-22 Benjamin Kosnik * 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)