alpaka
Abstraction Library for Parallel Kernel Acceleration
ForEachType.hpp File Reference
#include "alpaka/core/Common.hpp"
#include <utility>

Go to the source code of this file.

Classes

struct  alpaka::meta::detail::ForEachTypeHelper< TList< T, Ts... > >
 
struct  alpaka::meta::detail::ForEachTypeHelper< TList<> >
 

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::meta
 
 alpaka::meta::detail
 

Functions

template<typename TList , typename TFnObj , typename... TArgs>
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto alpaka::meta::forEachType (TFnObj &&f, TArgs &&... args) -> void
 Equivalent to boost::mpl::for_each but does not require the types of the sequence to be default constructible. This function does not create instances of the types instead it passes the types as template parameter. More...