Public Member Functions | Public Attributes | List of all members
clang::insights::BackupAndRestore< T, U > Struct Template Reference

#include "InsightsHelpers.h"

Collaboration diagram for clang::insights::BackupAndRestore< T, U >:
Collaboration graph
[legend]

Public Member Functions

 BackupAndRestore (T &value, U &&newVal)
 
 ~BackupAndRestore ()
 

Public Attributes

T & mValue
 
mBackup {}
 

Detailed Description

template<typename T, typename U>
struct clang::insights::BackupAndRestore< T, U >

Definition at line 383 of file InsightsHelpers.h.

Constructor & Destructor Documentation

◆ BackupAndRestore()

template<typename T , typename U >
clang::insights::BackupAndRestore< T, U >::BackupAndRestore ( T &  value,
U &&  newVal 
)
inline

◆ ~BackupAndRestore()

template<typename T , typename U >
clang::insights::BackupAndRestore< T, U >::~BackupAndRestore ( )
inline

Member Data Documentation

◆ mBackup

template<typename T , typename U >
T clang::insights::BackupAndRestore< T, U >::mBackup {}

◆ mValue

template<typename T , typename U >
T& clang::insights::BackupAndRestore< T, U >::mValue

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