Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ScopedHandle
Method
ScopedHandle
src/leveldb/util/env_windows.cc:77–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
class ScopedHandle {
76
public:
77
ScopedHandle(HANDLE handle) : handle_(handle) {}
78
ScopedHandle(const ScopedHandle&) = delete;
79
ScopedHandle(ScopedHandle&& other) noexcept : handle_(other.Release()) {}
80
~ScopedHandle() { Close(); }
Callers
nothing calls this directly
Calls
1
Release
Method · 0.45
Tested by
no test coverage detected