Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template uninitialized_move

boost::uninitialized_move — defined(BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE)

Synopsis

// In header: <boost/move/algorithm.hpp>


template<typename I, typename F> F uninitialized_move(I f, I l, F r);

Description

Effects:

*    for (; first != last; ++result, ++first)
*       new (static_cast<void*>(&*result))
*          typename iterator_traits<ForwardIterator>::value_type(boost::move(*first));
*    

Returns: result


PrevUpHomeNext