Template Struct Unroll< 0 >

Struct Documentation

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

Specialization of the unrolling class for the case that 0 unrolling is specified. This specialization does nothing, it’s defined for generic code that may invoke it.

This struct is an implementation detail for unrolled_for.

Public Functions

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

Does nothing.

Parameters
  • functor: Placeholder for a functor.

  • args: Placeholder for the functor arguments.

Template Parameters
  • Functor: The type of the functor.

  • Args: The type of the arguments.