alpaka
Abstraction Library for Parallel Kernel Acceleration
Apply.hpp
Go to the documentation of this file.
1 /* Copyright 2022 Benjamin Worpitz, Bernhard Manfred Gruber
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 
7 namespace alpaka::meta
8 {
9  namespace detail
10  {
11  template<typename TList, template<typename...> class TApplicant>
12  struct ApplyImpl;
13 
14  template<template<typename...> class TList, template<typename...> class TApplicant, typename... T>
15  struct ApplyImpl<TList<T...>, TApplicant>
16  {
17  using type = TApplicant<T...>;
18  };
19  } // namespace detail
20  template<typename TList, template<typename...> class TApplicant>
22 } // namespace alpaka::meta
typename detail::ApplyImpl< TList, TApplicant >::type Apply
Definition: Apply.hpp:21