MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / UniqueHandle

Method UniqueHandle

src/kernel/bitcoinkernel_wrapper.h:393–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392public:
393 explicit UniqueHandle(CType* ptr) : m_ptr{check(ptr)} {}
394
395 CType* get() { return m_ptr.get(); }
396 const CType* get() const { return m_ptr.get(); }

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected