libmoost
|
This policy just sets scoped to a specific value. More...
#include <scope_exit.hpp>
Public Types | |
typedef scopedT | scoped_type |
typedef boost::reference_wrapper < scopedT > | policy_type |
Public Member Functions | |
set_specific_value (scoped_type &scoped, scoped_type const &val) | |
void | operator() () const |
Private Attributes | |
scopedT | val_ |
This policy just sets scoped to a specific value.
Definition at line 105 of file scope_exit.hpp.
typedef boost::reference_wrapper<scopedT> moost::utils::scope_exit::policy::set_specific_value< scopedT >::policy_type |
Definition at line 108 of file scope_exit.hpp.
typedef scopedT moost::utils::scope_exit::policy::set_specific_value< scopedT >::scoped_type |
Reimplemented from moost::utils::scope_exit::policy::policy_base< boost::reference_wrapper< scopedT > >.
Definition at line 107 of file scope_exit.hpp.
moost::utils::scope_exit::policy::set_specific_value< scopedT >::set_specific_value | ( | scoped_type & | scoped, |
scoped_type const & | val | ||
) | [inline] |
Definition at line 110 of file scope_exit.hpp.
void moost::utils::scope_exit::policy::set_specific_value< scopedT >::operator() | ( | ) | const [inline] |
Definition at line 113 of file scope_exit.hpp.
scopedT moost::utils::scope_exit::policy::set_specific_value< scopedT >::val_ [private] |
Definition at line 120 of file scope_exit.hpp.