◆ pack_cast()

template<typename Target , typename Value >
Target boost::simd::pack_cast ( Value const &  x)

This function objects converts the elements of its argument to an arbitrary type.

Target while preserving its argument's cardinal.

Template Parameters
TargetTarget type to cast toward
Header <boost/simd/function/pack_cast.hpp>
xValue to cast
A value of type Target which is cast to x.