Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Struct template allow_multiple_reads
PrevUpHomeNext

Struct template allow_multiple_reads

boost::lockfree::allow_multiple_reads

Synopsis

// In header: <boost/lockfree/policies.hpp>

template<bool AllowMultipleReads> 
struct allow_multiple_reads {
};

Description

Configures the spsc_value to consume the value multiple times

Caveats:

  • one cannot move the value out


PrevUpHomeNext