◆ pack() [4/6]

template<typename T, std::size_t N, typename ABI>
template<typename Iterator , typename = typename std::enable_if<is_iterator<Iterator>::value>::type>
boost::simd::pack< T, N, ABI >::pack ( Iterator  b,
Iterator  e 
)
inline

Construct a pack from a range of element.

Construct a pack by loading, in a piecewise way, every element contained inside the range [b,e[ . Contrary to the constructor using aligned contiguous memory, this range can be unaligned and non-contiguous.

Precondition
std::distance(e,b) >= N
Parameters
bBeginning of the range to load from
eEnd of the range to load from