alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
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

namespace  alpaka
 The alpaka accelerator library.
 
namespace  alpaka::meta
 
namespace  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.