|
vecmem 1.22.0
|
Base class for implementations of the vecmem::memory_resource interface.
More...
#include <vecmem/memory/details/memory_resource_base.hpp>
Protected Member Functions | |
Function(s) implementing @c vecmem::memory_resource | |
| VECMEM_CORE_EXPORT bool | do_is_equal (const memory_resource &other) const noexcept override |
Compare the equality of *this memory resource with another. | |
Base class for implementations of the vecmem::memory_resource interface.
It's mainly just a convenience class for providing a common implementation of the vecmem::memory_resource::is_equal(...) function for the derived types.
|
overrideprotectednoexcept |
Compare the equality of *this memory resource with another.
| other | The other memory resource to compare with |
true if the two memory resources are equal, false otherwise