SObjectizer  5.5
Classes | Namespaces | Functions
rollback_on_exception.hpp File Reference

Helpers for do rollback actions in the case of exception. More...

Go to the source code of this file.

Classes

class  so_5::details::rollback_on_exception_details::rollbacker_t< L >
 Helper template class for do rollback actions automatically in the destructor. More...
 
struct  so_5::details::rollback_on_exception_details::executor< Result, Main_Action, Rollback_Action >
 
struct  so_5::details::rollback_on_exception_details::executor< void, Main_Action, Rollback_Action >
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::details
 Some reusable and low-level classes/functions which can be used in public header files.
 
 so_5::details::rollback_on_exception_details
 Implementation details for implementation of rollback on exception helper.
 

Functions

template<typename Main_Action , typename Rollback_Action >
auto so_5::details::do_with_rollback_on_exception (Main_Action main_action, Rollback_Action rollback_action) -> decltype(main_action())
 Helper function for do some action with rollback in the case of an exception. More...
 

Detailed Description

Helpers for do rollback actions in the case of exception.

Since
v.5.5.4