vecmem 1.18.0
Loading...
Searching...
No Matches
static_array_traits.hpp
1/* VecMem project, part of the ACTS project (R&D line)
2 *
3 * (c) 2021 CERN for the benefit of the ACTS project
4 *
5 * Mozilla Public License Version 2.0
6 */
7#pragma once
8
9// System include(s).
10#include <cstddef>
11
12namespace vecmem {
13namespace details {
14
20template <typename T, std::size_t size>
22 typedef T type[size];
23};
24
25template <typename T>
26struct static_array_type<T, 0> {
27 struct type {};
28};
29
30} // namespace details
31} // namespace vecmem
An allocator class that wraps a memory resource.
Definition allocator.hpp:37
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16
Helper type for an array with a given type and size.
Definition static_array_traits.hpp:21