2009-09-02 Paolo Carlini <paolo.carlini@oracle.com>

* include/bits/stl_uninitialized.h
	(__uninitialized_copy::uninitialized_copy): Just call (the now 
	forwarding) _Construct.

From-SVN: r151330
This commit is contained in:
Paolo Carlini 2009-09-02 14:49:58 +00:00 committed by Paolo Carlini
parent 35e46cd8b8
commit e123d1967f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-09-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_uninitialized.h
(__uninitialized_copy::uninitialized_copy): Just call (the now
forwarding) _Construct.
2009-09-01 Chris Jefferson <chris@bubblescope.net>
Paolo Carlini <paolo.carlini@oracle.com>

View File

@ -71,8 +71,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
__try
{
for (; __first != __last; ++__first, ++__cur)
::new(static_cast<void*>(&*__cur)) typename
iterator_traits<_ForwardIterator>::value_type(*__first);
std::_Construct(&*__cur, *__first);
return __cur;
}
__catch(...)