CsLibGuarded  1.4.1
libguarded::cow_guarded< T, Mutex >::handle Class Reference

#include <cs_cow_guarded.h>

Inherits unique_ptr< T, deleter >, unique_ptr< T, deleter >

Public Member Functions

void cancel ()
 

Detailed Description

template<typename T, typename Mutex = std::mutex>
class libguarded::cow_guarded< T, Mutex >::handle

The handle class for cow_guarded is moveable but not copyable.

Definition at line 197 of file cs_cow_guarded.h.

Member Function Documentation

template<typename T, typename Mutex = std::mutex>
void libguarded::cow_guarded< T, Mutex >::handle::cancel ( )
inline

Cancel all pending changes, reset the handle to null, and unlock the data.

Definition at line 205 of file cs_cow_guarded.h.


The documentation for this class was generated from the following file: