alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
include
alpaka
concepts
types.hpp
Go to the documentation of this file.
1
/* Copyright 2025 Simeon Ehrig, René Widera
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include <type_traits>
8
9
namespace
alpaka::concepts
10
{
11
/** Concept to check if the given type is a C static array.
12
*/
13
template
<
typename
T>
14
concept
CStaticArray
= std::is_array_v<T>;
15
16
/** Concept to check if the given type is a reference, using std::is_reference
17
*/
18
template
<
typename
T>
19
concept
Reference
= std::is_reference_v<T>;
20
}
// namespace alpaka::concepts
alpaka::concepts::CStaticArray
Concept to check if the given type is a C static array.
Definition
types.hpp:14
alpaka::concepts::Reference
Concept to check if the given type is a reference, using std::is_reference.
Definition
types.hpp:19
alpaka::concepts
Definition
api.hpp:32
Generated on
for alpaka by
1.16.1