Construct a jss::synchronized_value
instance. Construct
the wrapped object with the supplied argument set.
template<typename ... Args> synchronized_value(Args&& ... args);
T
is constructible
from the supplied argument set.
Constructs a jss::synchronized_value
instance containing an object constructed with T(std::forward<Args>(args)...)
. This is "perfect forwarding",
so any arguments that would be valid arguments for constructing
an object of type T
can be supplied. If no arguments are supplied then the wrapped
object is default-constructed.
Any exceptions thrown by the construction of the wrapped object.
#include <jss/synchronized_value.hpp>