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>
21
using
Apply
=
typename
detail::ApplyImpl<TList, TApplicant>::type
;
22
}
// namespace alpaka::meta
alpaka::meta
Definition:
Apply.hpp:8
alpaka::meta::Apply
typename detail::ApplyImpl< TList, TApplicant >::type Apply
Definition:
Apply.hpp:21
alpaka::meta::detail::ApplyImpl< TList< T... >, TApplicant >::type
TApplicant< T... > type
Definition:
Apply.hpp:17
alpaka::meta::detail::ApplyImpl
Definition:
Apply.hpp:12
include
alpaka
meta
Apply.hpp
Generated on Thu Nov 21 2024 22:46:15 for alpaka by
1.9.1