12#include "vecmem/containers/data/jagged_vector_view.hpp"
13#include "vecmem/memory/memory_resource.hpp"
14#include "vecmem/memory/unique_ptr.hpp"
78#include "vecmem/containers/impl/jagged_vector_data.ipp"
A data wrapper for jagged vectors.
Definition jagged_vector_data.hpp:30
jagged_vector_data()
Default constructor.
Definition jagged_vector_data.ipp:43
typename base_type::size_type size_type
Use the base class's size_type.
Definition jagged_vector_data.hpp:36
jagged_vector_data(jagged_vector_data &&) noexcept=default
Move constructor.
typename base_type::value_type value_type
Use the base class's value_type.
Definition jagged_vector_data.hpp:38
A view for jagged vectors.
Definition jagged_vector_view.hpp:44
std::size_t size_type
We cannot use boolean types.
Definition jagged_vector_view.hpp:52
VECMEM_HOST_AND_DEVICE size_type size() const
Get the "outer" size of the jagged vector.
Definition jagged_vector_view.ipp:83
vector_view< T > value_type
Value type of the jagged array.
Definition jagged_vector_view.hpp:54
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
std::unique_ptr< T, details::unique_alloc_deleter< T > > unique_alloc_ptr
A unique pointer type for trivial types.
Definition unique_ptr.hpp:69
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