...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::lockfree::allow_multiple_reads
// In header: <boost/lockfree/policies.hpp> template<bool AllowMultipleReads> struct allow_multiple_reads { };
Configures the spsc_value to consume the value multiple times
Caveats:
one cannot move the value out