vecmem 1.18.0
Loading...
Searching...
No Matches
List of all members
vecmem::details::memory_resource_base Class Reference

Base class for implementations of the vecmem::memory_resource interface. More...

#include <vecmem/memory/details/memory_resource_base.hpp>

Inheritance diagram for vecmem::details::memory_resource_base:
vecmem::arena_memory_resource vecmem::binary_page_memory_resource vecmem::choice_memory_resource vecmem::coalescing_memory_resource vecmem::conditional_memory_resource vecmem::contiguous_memory_resource vecmem::debug_memory_resource vecmem::host_memory_resource vecmem::identity_memory_resource vecmem::instrumenting_memory_resource vecmem::pool_memory_resource vecmem::terminal_memory_resource

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.
 

Detailed Description

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.

Member Function Documentation

◆ do_is_equal()

bool vecmem::details::memory_resource_base::do_is_equal ( const memory_resource &  other) const
overrideprotectednoexcept

Compare the equality of *this memory resource with another.

Parameters
otherThe other memory resource to compare with
Returns
true if the two memory resources are equal, false otherwise

The documentation for this class was generated from the following files: