1 #ifndef AMREX_GPUELIXIR_H_
2 #define AMREX_GPUELIXIR_H_
3 #include <AMReX_Config.H>
24 :
m_pa(std::move(rhs.m_pa))
32 m_pa = std::move(rhs.m_pa);
39 m_pa.insert(
m_pa.end(), rhs.m_pa.begin(), rhs.m_pa.end());
45 void clear () noexcept;
A virtual base class for objects that manage their own dynamic memory allocation.
Definition: AMReX_Arena.H:100
Definition: AMReX_GpuElixir.H:13
void clear() noexcept
Definition: AMReX_GpuElixir.cpp:35
Elixir(Elixir &&rhs) noexcept
Definition: AMReX_GpuElixir.H:23
Vector< std::pair< void *, Arena * > > m_pa
Definition: AMReX_GpuElixir.H:48
Elixir & operator=(Elixir const &)=delete
Elixir() noexcept=default
~Elixir()
Definition: AMReX_GpuElixir.H:43
void append(Elixir rhs) noexcept
Definition: AMReX_GpuElixir.H:37
Elixir(Elixir const &)=delete
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
Definition: AMReX_Amr.cpp:49