ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::PmrResource< R > Class Template Reference

the resource \( r \) of ADS as a std::pmr::memory_resource More...

#include <ADS/interop/std/Pmr.h>

Inheritance diagram for ADS::PmrResource< R >:

Public member functions

 PmrResource (R &r)
 the adapter of \( r \), which must outlive it and the memory it gives
R & resource (void) const
 the resource of ADS

Detailed description

template<class R = PoolResource<>>
class ADS::PmrResource< R >

the resource \( r \) of ADS as a std::pmr::memory_resource

Constructor and destructor documentation

◆ PmrResource()

template<class R = PoolResource<>>
ADS::PmrResource< R >::PmrResource ( R & r)
inlineexplicit

the adapter of \( r \), which must outlive it and the memory it gives

Member function documentation

◆ resource()

template<class R = PoolResource<>>
R & ADS::PmrResource< R >::resource ( void ) const
inlinenodiscard

the resource of ADS


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