◆ make()

template<typename T , typename.. Args>
T boost::simd::make ( Args const &...  args)

Build a value of type T from a list of scalar values of types Args.

Header <boost/simd/function/make.hpp>
Scalar Semantic
For any type T and value x of type T:
auto r = make<T>(x);
is equivalent to:
T r{x};
SIMD Semantic
For any type T , any integral constant N and N values xs of type T, the following code:
auto r = make<boost::simd::pack<T,N>>(x0,...,xn);
is equivalent to:
argsList of value to build the result from.
Template Parameters
TType of the expected output.
A value of type T built from each args.