MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / addRef

Method addRef

include/daScript/misc/smart_ptr.h:93–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 template <typename T>
92 struct smart_ptr_policy {
93 __forceinline static void addRef ( T * p ) { p->addRef(); }
94 __forceinline static bool delRef ( T * p ) { return p->delRef(); }
95 __forceinline static unsigned int use_count ( T * p ) { return p->use_count(); }
96 __forceinline static T & get_value ( T * p ) {

Callers

nothing calls this directly

Calls 1

addRefMethod · 0.45

Tested by

no test coverage detected