Returns a pointer to S consecutive elements for appending. If any data is appended, you must call endIncr afterwards. Pointer is invalidated when any other method is called. */
| 119 | Pointer is invalidated when any other method is called. |
| 120 | */ |
| 121 | T* endData() { |
| 122 | size_t i = end % S; |
| 123 | return &data[i]; |
| 124 | } |
| 125 | void endIncr(size_t n) { |
| 126 | size_t i = end % S; |
| 127 | size_t e1 = i + n; |
nothing calls this directly
no outgoing calls
no test coverage detected