MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / Top

Method Top

include/sonic/internal/stack.h:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 */
125 template <typename T>
126 sonic_force_inline const T* Top() const {
127 return reinterpret_cast<const T*>(top_ - sizeof(T));
128 }
129 template <typename T>
130 sonic_force_inline T* Top() {
131 return reinterpret_cast<T*>(top_ - sizeof(T));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected