template<class T>
class RCUWriter< T >
RCUWriter is a convenience object that implements write_copy/update via lifetime management. Creating the object obtains a writable copy, which can be obtained via the get_copy() method; deleting the object will update the manager's copy. Code doing a write/update thus looks like:
{
RCUWriter writer (object_manager);
boost::shared_ptr<T> copy = writer.get_copy();
... modify copy ...
} <= writer goes out of scope, update invoked
Definition at line 217 of file rcu.h.