13#if __cplusplus < 201700L
15 "This header can only be used in C++17 mode. " \
16 "Ideally it should only be used by the \"host compiler\"."
26#if defined(VECMEM_HAVE_PMR_MEMORY_RESOURCE)
27#include <memory_resource>
31using polymorphic_allocator = std::pmr::polymorphic_allocator<T>;
33#elif defined(VECMEM_HAVE_EXPERIMENTAL_PMR_MEMORY_RESOURCE)
34#include <experimental/memory_resource>
38using polymorphic_allocator = std::experimental::pmr::polymorphic_allocator<T>;
41#error "C++17 LFTS V1 (P0220R1) component memory_resource not found!?!"
Main namespace for the vecmem classes/functions.
Definition atomic_ref.hpp:16