◆ 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>
Parameters
xValue to cast
Returns
A value of type Target which is cast to x.