MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / Handle

Method Handle

CppCoverage/Handle.hpp:32–39  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

30 public:
31 //---------------------------------------------------------------------
32 Handle(T_Handle handle, T_Releaser releaser)
33 : handle_(handle), releaser_(releaser)
34 {
35 if (!handle_)
36 THROW(L"Handle is not valid");
37 if (!releaser_)
38 THROW(L"Releaser is not valid");
39 }
40
41 //---------------------------------------------------------------------
42 Handle(Handle&& handle) = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected