◆ pack() [2/6]

template<typename T, std::size_t N, typename ABI>
boost::simd::pack< T, N, ABI >::pack ( T const *  ptr)
inlineexplicitnoexcept

Construct a pack from aligned, contiguous memory.

Construct a pack by loading N value from the pointer ptr which references an block of contiguous, aligned memory.

Precondition
ptr is aligned and reference at least N contiguous elements.
Parameters
ptrPointer to load from