Scope guard for marking a code region. More...
Public Member Functions | |
template<class Arg > | |
guard (Arg &&a) | |
Create a guard. | |
Scope guard for marking a code region.
This type is used to mark a runtime named code region based on the lifetime of the guard.
ctx | annotation context for named code region. |
severity | detail level to use for code region. |