10#include "vecmem/containers/details/aligned_multiple_placement.hpp"
23template <
typename TYPE>
27template <
typename TYPE>
41 details::aligned_multiple_placement<std::remove_pointer_t<size_pointer>,
42 std::remove_pointer_t<pointer>>(
51template <
typename TYPE>
57template <
typename TYPE>
Object owning the data held by it.
Definition vector_buffer.hpp:29
vector_buffer()
Make sure that the template type does not have a custom destructor.
Definition vector_buffer.ipp:24
typename base_type::pointer pointer
Pointer type definition coming from the base class.
Definition vector_buffer.hpp:39
typename base_type::size_type size_type
Size type definition coming from the base class.
Definition vector_buffer.hpp:35
typename base_type::size_pointer size_pointer
Size pointer type definition coming from the base class.
Definition vector_buffer.hpp:37
Class holding data about a 1 dimensional vector/array.
Definition vector_view.hpp:38
VECMEM_HOST_AND_DEVICE vector_view & operator=(const vector_view< OTHERTYPE > &rhs)
Copy from a "slightly different" vecmem::details::vector_view object.
VECMEM_HOST_AND_DEVICE pointer ptr() const
Get a pointer to the vector elements.
Definition vector_view.ipp:91
VECMEM_HOST_AND_DEVICE size_type capacity() const
Get the maximum capacity of the vector.
Definition vector_view.ipp:78
VECMEM_HOST_AND_DEVICE size_type size() const
Get the size of the vector.
Definition vector_view.ipp:72
buffer_type
"Overall type" for a buffer object
Definition buffer_type.hpp:13
@ fixed_size
The buffer has a fixed number of elements.
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