| 
    rippled
    
   | 
 
#include <scope.h>
Public Member Functions | |
| ~scope_success () noexcept(noexcept(exit_function_())) | |
| scope_success (scope_success &&rhs) noexcept(std::is_nothrow_move_constructible_v< EF >||std::is_nothrow_copy_constructible_v< EF >) | |
| scope_success & | operator= (scope_success &&)=delete | 
| template<class EFP > | |
| scope_success (EFP &&f, std::enable_if_t< !std::is_same_v< std::remove_cv_t< EFP >, scope_success > &&std::is_constructible_v< EF, EFP > > *=0) noexcept(std::is_nothrow_constructible_v< EF, EFP >||std::is_nothrow_constructible_v< EF, EFP & >) | |
| void | release () noexcept | 
Private Attributes | |
| EF | exit_function_ | 
| bool | execute_on_destruction_ {true} | 
| int | uncaught_on_creation_ {std::uncaught_exceptions()} | 
      
  | 
  noexcept | 
      
  | 
  noexcept | 
      
  | 
  explicitnoexcept | 
      
  | 
  delete | 
      
  | 
  noexcept | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |