forward_list.h (forward_list<>::insert_after): Minor cosmetic changes.

2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/forward_list.h (forward_list<>::insert_after): Minor
	cosmetic changes.

From-SVN: r141190
This commit is contained in:
Paolo Carlini 2008-10-17 08:37:02 +00:00 committed by Paolo Carlini
parent e73d6fe828
commit d051e2e7e6
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::insert_after): Minor
cosmetic changes.
2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/forward_list.h: Factor list construction to dispatch

View file

@ -888,7 +888,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
void
insert_after(const_iterator __pos, size_type __n, const _Tp& __val)
{
forward_list<_Tp, _Alloc> __tmp(__n, __val, this->get_allocator());
forward_list __tmp(__n, __val, this->get_allocator());
this->splice_after(__pos, std::move(__tmp));
}
@ -910,7 +910,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
insert_after(const_iterator __pos,
_InputIterator __first, _InputIterator __last)
{
forward_list<_Tp, _Alloc> __tmp(__first, __last, this->get_allocator());
forward_list __tmp(__first, __last, this->get_allocator());
this->splice_after(__pos, std::move(__tmp));
}
@ -930,7 +930,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
void
insert_after(const_iterator __pos, std::initializer_list<_Tp> __il)
{
forward_list<_Tp, _Alloc> __tmp(__il, this->get_allocator());
forward_list __tmp(__il, this->get_allocator());
this->splice_after(__pos, std::move(__tmp));
}
@ -1227,8 +1227,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
__false_type);
// Called by forward_list(n,v,a), and the range constructor when it turns out
// to be the same thing.
// Called by forward_list(n,v,a), and the range constructor when it
// turns out to be the same thing.
void
_M_fill_initialize(size_type __n, const value_type& __value);
};