alpaka
Abstraction Library for Parallel Kernel Acceleration
TypeListOps.hpp File Reference
#include <tuple>
#include <type_traits>

Go to the source code of this file.

Classes

struct  alpaka::meta::Contains< List, Value >
 
struct  alpaka::meta::Contains< List< Head, Tail... >, Value >
 
struct  alpaka::meta::detail::Front< List >
 
struct  alpaka::meta::detail::Front< List< Head, Tail... > >
 
struct  alpaka::meta::detail::ToListImpl< TListType, TType, typename >
 
struct  alpaka::meta::detail::ToListImpl< TListType, TList, std::enable_if_t< alpaka::meta::isList< TList > > >
 
struct  alpaka::meta::IsList< T >
 
struct  alpaka::meta::IsList< TList< TTypes... > >
 
struct  alpaka::meta::ToList< TListType, T >
 
struct  alpaka::meta::ToList< TListType, T, Ts... >
 

Namespaces

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

Typedefs

template<typename List >
using alpaka::meta::Front = typename detail::Front< List >::type
 
template<typename... T>
using alpaka::meta::ToTuple = typename ToList< std::tuple, T... >::type
 If T is a single argument and a type list (fullfil alpaka::meta::isList), the return type is T. Otherwise, std::tuple is returned with T types as template parameters. More...
 

Variables

template<typename T >
constexpr bool alpaka::meta::isList = IsList<std::decay_t<T>>::value
 Checks whether the specified type is a list. List is a type with a variadic number of template types. More...