| 126 | |
| 127 | template<typename T> |
| 128 | RAPIDJSON_FORCEINLINE T* PushUnsafe(size_t count = 1) { |
| 129 | RAPIDJSON_ASSERT(stackTop_ + sizeof(T) * count <= stackEnd_); |
| 130 | T* ret = reinterpret_cast<T*>(stackTop_); |
| 131 | stackTop_ += sizeof(T) * count; |
| 132 | return ret; |
| 133 | } |
| 134 | |
| 135 | template<typename T> |
| 136 | T* Pop(size_t count) { |
no outgoing calls
no test coverage detected