#include <di/sync/synchronized.h>
◆ Synchronized() [1/4]
template<typename Value, concepts::Lock Lock = DefaultLock>
◆ Synchronized() [2/4]
template<typename Value, concepts::Lock Lock = DefaultLock>
template<typename U>
requires (!concepts::SameAs<U,
InPlace> && !concepts::RemoveCVRefSameAs<U,
Synchronized> && concepts::ConstructibleFrom<Value, U>)
◆ Synchronized() [3/4]
template<typename Value, concepts::Lock Lock = DefaultLock>
template<typename... Args>
requires (concepts::ConstructibleFrom<Value, Args...>)
◆ Synchronized() [4/4]
template<typename Value, concepts::Lock Lock = DefaultLock>
◆ get_assuming_no_concurrent_accesses()
template<typename Value, concepts::Lock Lock = DefaultLock>
◆ get_const_assuming_no_concurrent_mutations()
template<typename Value, concepts::Lock Lock = DefaultLock>
auto di::sync::Synchronized< Value, Lock >::get_const_assuming_no_concurrent_mutations |
( |
| ) |
const -> Value const& |
|
inlineconstexpr |
◆ get_lock()
template<typename Value, concepts::Lock Lock = DefaultLock>
◆ lock()
template<typename Value, concepts::Lock Lock = DefaultLock>
◆ read()
template<typename Value, concepts::Lock Lock = DefaultLock>
auto di::sync::Synchronized< Value, Lock >::read |
( |
| ) |
const -> Value
requires(concepts::CopyConstructible<Value>)
|
|
inlineconstexpr |
◆ with_lock()
template<typename Value, concepts::Lock Lock = DefaultLock>
template<concepts::Invocable< Value & > Fun>
The documentation for this class was generated from the following file: