◆ std_

const detail::decorator< std_tag > boost::simd::std_ = {}

provides an easy way to use the original stdlibc++ function that is mimicked by one of our functors.

Header <boost/simd/function/std.hpp>

For a function object func,

auto std_func = std_(func);

is equivalent to:

T r = std::func(< func parameters >);
  • for simd vector parameter a map of the standard function is done automagically for each vector element but of course there is no vectorization gain.
  • std_ is only a convenience feature for people which sometimes have to stick to the standard or test the standard behaviour against Boost.SIMD.