Template Struct Unroll< 1 >

Struct Documentation

template<>
struct wrench::detail::Unroll<1>

Specialization of the unrolling class to terminate the urolling at the lowest level.

This struct is an implementation detail for unrolled_for.

Public Functions

template<typename Functor, typename ...Args>
constexpr Unroll(Functor &&functor, Args&&... args) noexcept

Invokes the functor with the given args.

Parameters
  • functor: The functor to invoke.

  • args: The arguments to pass to the functor.

Template Parameters
  • Functor: The type of the functor to invoke.

  • Args: The type of the arguments to invoke with.