MLIR 22.0.0git
mlir::SaveStateStack< T, HostClass > Struct Template Reference

RAII object calling stackPush/stackPop on construction/destruction. More...

#include "mlir/Support/StateStack.h"

Inheritance diagram for mlir::SaveStateStack< T, HostClass >:

Public Member Functions

template<typename... Args>
 SaveStateStack (HostClass &host, Args &&...args)
 ~SaveStateStack ()

Detailed Description

template<typename T, typename HostClass = StateStack>
struct mlir::SaveStateStack< T, HostClass >

RAII object calling stackPush/stackPop on construction/destruction.

HostClass could be a StateStack or some other class which forwards calls to one.

Definition at line 106 of file StateStack.h.

Constructor & Destructor Documentation

◆ SaveStateStack()

template<typename T, typename HostClass = StateStack>
template<typename... Args>
mlir::SaveStateStack< T, HostClass >::SaveStateStack ( HostClass & host,
Args &&... args )
inlineexplicit

Definition at line 108 of file StateStack.h.

◆ ~SaveStateStack()

template<typename T, typename HostClass = StateStack>
mlir::SaveStateStack< T, HostClass >::~SaveStateStack ( )
inline

Definition at line 111 of file StateStack.h.


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