Swaps this queue's state with the other's. Not thread-safe. Swapping two queues does not invalidate their tokens, however the tokens that were created for one queue must be used with only the swapped queue (i.e. the tokens are tied to the queue's movable state, not the object itself).
| 98 | // only the swapped queue (i.e. the tokens are tied to the |
| 99 | // queue's movable state, not the object itself). |
| 100 | inline void swap(BlockingConcurrentQueue& other) MOODYCAMEL_NOEXCEPT |
| 101 | { |
| 102 | swap_internal(other); |
| 103 | } |
| 104 | |
| 105 | private: |
| 106 | BlockingConcurrentQueue& swap_internal(BlockingConcurrentQueue& other) |
no outgoing calls
no test coverage detected