* 判定队列是否为空 * @return */
| 75 | * @return |
| 76 | */ |
| 77 | [[nodiscard]] CBool empty() { |
| 78 | CGRAPH_LOCK_GUARD lk(mutex_); |
| 79 | return priority_queue_.empty(); |
| 80 | } |
| 81 | |
| 82 | CGRAPH_NO_ALLOWED_COPY(UAtomicPriorityQueue) |
| 83 |
nothing calls this directly
no outgoing calls
no test coverage detected