MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / PtrValue

Function PtrValue

libapp2sys/prebuilt/include/google/protobuf/metadata.h:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 template<typename T> T* PtrValue() const {
135 return reinterpret_cast<T*>(
136 reinterpret_cast<intptr_t>(ptr_) & kPtrValueMask);
137 }
138
139 // If ptr_'s tag is kTagContainer, it points to an instance of this struct.
140 struct Container {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected