| 113 | // Expansion is run very infrequently, so it is moved to another (probably non-inline) function. |
| 114 | template<typename T> |
| 115 | RAPIDJSON_FORCEINLINE void Reserve(size_t count = 1) { |
| 116 | // Expand the stack if needed |
| 117 | if (RAPIDJSON_UNLIKELY(stackTop_ + sizeof(T) * count > stackEnd_)) |
| 118 | Expand<T>(count); |
| 119 | } |
| 120 | |
| 121 | template<typename T> |
| 122 | RAPIDJSON_FORCEINLINE T* Push(size_t count = 1) { |
no outgoing calls
no test coverage detected