Public Member Functions | List of all members
clang::insights::FinalAction< T > Class Template Reference

A helper which invokes a lambda when the scope is destroyed. More...

#include "InsightsHelpers.h"

Public Member Functions

 FinalAction (T &&action)
 
 ~FinalAction ()
 

Detailed Description

template<typename T>
class clang::insights::FinalAction< T >

A helper which invokes a lambda when the scope is destroyed.

Definition at line 319 of file InsightsHelpers.h.

Constructor & Destructor Documentation

◆ FinalAction()

template<typename T >
clang::insights::FinalAction< T >::FinalAction ( T &&  action)
inlineexplicit

Definition at line 322 of file InsightsHelpers.h.

◆ ~FinalAction()

template<typename T >
clang::insights::FinalAction< T >::~FinalAction ( )
inline

Definition at line 327 of file InsightsHelpers.h.


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