| 58 | // as their value type. |
| 59 | template <typename F> |
| 60 | void runWithBothQueueTypes(const F& testFunction) { |
| 61 | testFunction(ThreadSafeQueue<size_t>{queueSize}); |
| 62 | testFunction(OrderedThreadSafeQueue<size_t>{queueSize}); |
| 63 | } |
| 64 | } // namespace |
| 65 | |
| 66 | // ________________________________________________________________ |