MCPcopy Create free account
hub / github.com/Kitware/CMake / reference

Method reference

Utilities/cmcppdap/src/typeof.cpp:30–33  ·  view source on GitHub ↗

reference() increments the TypeInfos reference count.

Source from the content-addressed store, hash-verified

28
29 // reference() increments the TypeInfos reference count.
30 inline void reference() {
31 assert(refcount.load() > 0);
32 refcount++;
33 }
34
35 // release() decrements the TypeInfos reference count.
36 // If the reference count becomes 0, then the TypeInfos is destructed.

Callers 1

initializeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected