xenium
Public Types | List of all members
xenium::reclamation::hazard_eras< Traits > Class Template Reference

An implementation of the hazard eras scheme proposed by Ramalhete and Correia [RC17]. More...

#include <hazard_eras.hpp>

Public Types

template<class... Policies>
using with = hazard_eras< typename Traits::template with< Policies... > >
 Customize the reclamation scheme with the given policies. More...
 

Detailed Description

template<class Traits = hazard_era_traits<>>
class xenium::reclamation::hazard_eras< Traits >

An implementation of the hazard eras scheme proposed by Ramalhete and Correia [RC17].

For general information about the interface of the reclamation scheme see Reclamation scheme interface.

This class does not take a list of policies, but a Traits type that can be customized with a list of policies. The following policies are supported:

Template Parameters
Traits

Member Typedef Documentation

◆ with

template<class Traits = hazard_era_traits<>>
template<class... Policies>
using xenium::reclamation::hazard_eras< Traits >::with = hazard_eras<typename Traits::template with<Policies...> >

Customize the reclamation scheme with the given policies.

The given policies are applied to the current configuration, replacing previously specified policies of the same type.

The resulting type is the newly configured reclamation scheme.

Template Parameters
Policieslist of policies to customize the behaviour