Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ Ptr
Method
Ptr
compiler/cpp/tests/catch/catch.hpp:563–563 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
561
class Ptr {
562
public:
563
Ptr() : m_p( CATCH_NULL ){}
564
Ptr( T* p ) : m_p( p ){
565
if( m_p )
566
m_p->addRef();
Callers
nothing calls this directly
Calls
1
addRef
Method · 0.80
Tested by
no test coverage detected