alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
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
9namespace 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
Concept to check if the given type is a C static array.
Definition types.hpp:14
Concept to check if the given type is a reference, using std::is_reference.
Definition types.hpp:19