11#include "vecmem/containers/vector.hpp"
12#include "vecmem/utils/abstract_event.hpp"
24template <
typename SIZE_TYPE>
34 std::add_lvalue_reference_t<std::add_const_t<storage_type>>;
74#include "vecmem/utils/impl/async_sizes.ipp"
An allocator class that wraps a memory resource.
Definition allocator.hpp:37
Return type for asynchronous size vector retrievals.
Definition async_sizes.hpp:25
std::add_lvalue_reference_t< std::add_const_t< storage_type > > const_reference
Constant (lvalue) reference to the stored size.
Definition async_sizes.hpp:34
void wait() override
Function that would block the current thread until the event is complete.
Definition async_sizes.ipp:25
std::unique_ptr< abstract_event > event_type
Type of the held event.
Definition async_sizes.hpp:36
void ignore() override
Function telling the object not to wait for the underlying event.
Definition async_sizes.ipp:31
const_reference get() const
Access the async/future value.
Definition async_sizes.ipp:17
vector< size_type > storage_type
Underlying type that stores the size variables on the heap.
Definition async_sizes.hpp:31
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16
Interface that language specific "events" need to implement.
Definition abstract_event.hpp:21