Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/USCiLab/cereal
/ Top
Method
Top
include/cereal/external/rapidjson/internal/stack.h:145–148 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
143
144
template<typename T>
145
T* Top() {
146
CEREAL_RAPIDJSON_ASSERT(GetSize() >= sizeof(T));
147
return reinterpret_cast<T*>(stackTop_ - sizeof(T));
148
}
149
150
template<typename T>
151
const T* Top() const {
Callers
nothing calls this directly
Calls
1
GetSize
Function · 0.50
Tested by
no test coverage detected