Provides access to the wrapped object of the associated jss::synchronized_value<>
instance.
T* operator->();
Given an object guard
of type jss::update_guard<T>
,
and an object p
of type T*
,
guard->'['some-expr] is
valid if
and only
if
p->`some-expr
would be valid.
A pointer to the T
object wrapped in the associated jss::synchronized_value<>
instance.
Nothing.
operator->
must only be called from the thread that constructed *this
.
The returned pointer must not be accessed after *this
has been destroyed.
#include <jss/synchronized_value.hpp>