35 #ifndef _BLAZE_UTIL_ALGORITHMS_UNINITIALIZEDMOVE_H_ 36 #define _BLAZE_UTIL_ALGORITHMS_UNINITIALIZEDMOVE_H_ 68 template<
typename InputIt
69 ,
typename ForwardIt >
72 using Value =
typename std::iterator_traits<ForwardIt>::value_type;
74 ForwardIt current( dest );
77 for( ; first!=last; ++first, ++current ) {
78 ::new ( std::addressof( *current ) ) Value( std::move( *first ) );
83 for( ; dest != current; ++dest ) {
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
ForwardIt uninitialized_move(InputIt first, InputIt last, ForwardIt dest)
Move the elements from the given source range to the uninitialized destination range.
Definition: UninitializedMove.h:70