10#include "vecmem/containers/data/vector_view.hpp"
11#include "vecmem/memory/polymorphic_allocator.hpp"
35using vector = std::vector<T, vecmem::polymorphic_allocator<T>>;
38template <
typename TYPE,
typename ALLOC>
42template <
typename TYPE,
typename ALLOC>
44 const std::vector<TYPE, ALLOC>&
vec);
49#include "vecmem/containers/impl/vector.ipp"
Class holding data about a 1 dimensional vector/array.
Definition vector_view.hpp:38
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16
std::vector< T, vecmem::polymorphic_allocator< T > > vector
Alias type for vectors with our polymorphic allocator.
Definition vector.hpp:35
VECMEM_HOST data::vector_view< T > get_data(array< T, N > &a)
Helper function creating a vecmem::data::vector_view object.
Definition array.ipp:217