| 72 | |
| 73 | template <class T> |
| 74 | inline void Push(T t) noexcept { |
| 75 | #if defined(STACK_GROW_DOWN) |
| 76 | Data_ -= sizeof(T); |
| 77 | *((T*)Data_) = t; |
| 78 | #else |
| 79 | *((T*)Data_) = t; |
| 80 | Data_ += sizeof(T); |
| 81 | #endif |
| 82 | } |
| 83 | |
| 84 | inline char* StackPtr() noexcept { |
| 85 | return Data_; |
no outgoing calls
no test coverage detected