Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FidoProject/Fido
/ Ptr
Method
Ptr
tests/catch.h:493–493 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
491
class Ptr {
492
public:
493
Ptr() : m_p( CATCH_NULL ){}
494
Ptr( T* p ) : m_p( p ){
495
if( m_p )
496
m_p->addRef();
Callers
nothing calls this directly
Calls
1
addRef
Method · 0.80
Tested by
no test coverage detected