A helper function to push into IUntypedQueue.
Note: this function performs a shallow copy of t into the queue. If this is not desired, the caller class is to call push() method of IUntypedQueue and apply desired logic on returned pointer.
A queue to push into
An item to push into q
true if t pushed into q, false otherwise
See Implementation
A helper function to push into IUntypedQueue.
Note: this function performs a shallow copy of t into the queue. If this is not desired, the caller class is to call push() method of IUntypedQueue and apply desired logic on returned pointer.