My Project
Public Member Functions | List of all members
mlir::functional::ScopeGuard Struct Reference

Simple ScopeGuard. More...

#include <Functional.h>

Public Member Functions

 ScopeGuard (std::function< void(void)> destruct)
 
 ~ScopeGuard ()
 

Detailed Description

Simple ScopeGuard.

Constructor & Destructor Documentation

◆ ScopeGuard()

mlir::functional::ScopeGuard::ScopeGuard ( std::function< void(void)>  destruct)
inlineexplicit

◆ ~ScopeGuard()

mlir::functional::ScopeGuard::~ScopeGuard ( )
inline

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