Returns a pointer to the specified item in the queue buffer.
A debug assertion will be raised if the index argument is greater than or equal to the current queue count (note: count, not capacity).
- Parameters
-
queue | Queue object. |
index | Item index. |
- Returns
- Pointer to queue element.