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:
parent
35e46cd8b8
commit
e123d1967f
@ -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>
|
||||
|
||||
|
@ -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(...)
|
||||
|
Loading…
Reference in New Issue
Block a user