Construct a jss::update_guard<>
instance that locks the internal mutex on the specified jss::synchronized_value<>
instance.
explicit update_guard(jss::synchronized_value<T>& sv);
Constructs a jss::update_guard<>
instance that references the supplied jss::synchronized_value<>
instance. Locks the internal mutex on sv
.
Any exceptions thrown by the lock operation on the internal mutex.
#include <jss/synchronized_value.hpp>