ATLAS Offline Software
Loading...
Searching...
No Matches
getData.h
Go to the documentation of this file.
1// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2#ifndef ATHDEVICEUTILS_DETAILS_GETDATA_H
3#define ATHDEVICEUTILS_DETAILS_GETDATA_H
4
5// Project include(s).
6#include "CxxUtils/span.h"
7
8// VecMem include(s).
9#include <vecmem/containers/data/vector_view.hpp>
10
11namespace AthDevice::Details {
12
14template <typename T>
15vecmem::data::vector_view<T> getData(CxxUtils::span<T> data);
16
17} // namespace AthDevice::Details
18
19// Include the implementation.
21
22#endif // ATHDEVICEUTILS_DETAILS_GETDATA_H
Simplified version of the C++20 std::span.
Definition span.h:61
vecmem::data::vector_view< T > getData(CxxUtils::span< T > data)
Construct vecmem::data::vector_view from CxxUtils::span.
Simplified version of the C++20 std::span.