|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
Assign a new value to an object and restore the object's previous value at the end of the current scope. More...
#include <types.hpp>
Public Member Functions | |
| constexpr | ScopedAssignment (T &val, T const &new_val) |
| constexpr | ScopedAssignment (T &val, T &&new_val) |
| ScopedAssignment (ScopedAssignment const &)=delete | |
| ScopedAssignment (ScopedAssignment &&)=delete | |
| ScopedAssignment & | operator= (ScopedAssignment const &)=delete |
| ScopedAssignment & | operator= (ScopedAssignment &&)=delete |
| ~ScopedAssignment () | |
Assign a new value to an object and restore the object's previous value at the end of the current scope.
|
inlineconstexpr |
|
inlineconstexpr |
|
delete |
|
delete |
|
inline |
|
delete |
|
delete |