Scope guard for marking a code region. More...
Public Member Functions | |
template<class... Arg> | |
rguard (Arg &&... a) | |
Create a guard. | |
Scope guard for marking a code region.
This type is used to mark a code region identified with a region type based on the lifetime of the guard.
reg | code region to tag (type inherits from annotation::region) |
Create a guard.
a | an optional task name as a std::string_view |