MCPcopy Create free account
hub / github.com/Gecode/gecode / object

Method object

gecode/kernel/shared-object.hpp:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101 forceinline SharedHandle::Object*
102 SharedHandle::object(void) const {
103 return o;
104 }
105 forceinline void
106 SharedHandle::subscribe(void) {
107 if (o != nullptr) o->rc.inc();

Callers

nothing calls this directly

Calls 2

cancelFunction · 0.85
subscribeFunction · 0.85

Tested by

no test coverage detected