ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::thread_safe_reads_t Struct Reference

the query of whether reads may run with other reads and with writes from other threads; false by default, and both structures of a composition must allow them More...

#include <ADS/Capabilities.h>

Inheritance diagram for ADS::thread_safe_reads_t:
ADS::forwarding_query

Static public member functions

template<class S>
static constexpr bool fallback (void)
 the answer of a structure that does not give one
static constexpr bool meet (bool a, bool b)
 the answer of the composition of two structures

Detailed description

the query of whether reads may run with other reads and with writes from other threads; false by default, and both structures of a composition must allow them

Member function documentation

◆ fallback()

template<class S>
constexpr bool ADS::thread_safe_reads_t::fallback ( void )
inlinestaticconstexpr

the answer of a structure that does not give one

◆ meet()

constexpr bool ADS::thread_safe_reads_t::meet ( bool a,
bool b )
inlinestaticconstexpr

the answer of the composition of two structures


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