Empty tests whether container is empty. Can be called by any thread at any time.
| 154 | // Empty tests whether container is empty. |
| 155 | // Can be called by any thread at any time. |
| 156 | bool Empty() const { return SizeOrNotEmpty<false>() == 0; } |
| 157 | |
| 158 | // Delete all the elements from the queue. |
| 159 | void Flush() { |