From 21669dfe20db0246ece395db5558a081a5c7088f Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 23 Mar 2012 13:26:49 +0000 Subject: [PATCH] forward_list.h: Slightly tweak two comments. 2012-03-23 Paolo Carlini * include/bits/forward_list.h: Slightly tweak two comments. From-SVN: r185737 --- libstdc++-v3/ChangeLog | 4 ++++ 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 3e2a24e4b4df..aaf05e240691 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 cd75bfc5eef6..01020c5e9331 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)