MCPcopy Create free account
hub / github.com/Tracktion/choc / getPointer

Method getPointer

choc/memory/choc_ObjectReference.h:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 ObjectType& get() const noexcept { return *target; }
62 ObjectType* getPointer() const noexcept { return target; }
63 ObjectType& getReference() const noexcept { return *target; }
64
65 template <typename OtherObjectType> bool operator== (const OtherObjectType& other) const noexcept { return target == getPointer (other); }

Callers 1

ObjectReferenceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected