Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ ~scope_exit
Method
~scope_exit
dlib/scope.h:48–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
{}
47
48
~scope_exit() noexcept
49
{
50
if (active_)
51
f_();
52
}
53
54
void release() noexcept { active_ = false; }
55
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected