SObjectizer 5.8
Loading...
Searching...
No Matches
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

namespace  so_5
 Private part of message limit implementation.
 
namespace  so_5::details
 Some reusable and low-level classes/functions which can be used in public header files.
 
namespace  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.
 

Detailed Description

Helpers for do rollback actions in the case of exception.

Since
v.5.5.4

Definition in file rollback_on_exception.hpp.