* @brief Check if the queue is empty (approximate) * * Note: This is an approximation and may not be accurate in concurrent * scenarios. * * @return true if the queue appears to be empty * @return false if the queue appears to have elements */
| 145 | * @return false if the queue appears to have elements |
| 146 | */ |
| 147 | [[nodiscard]] auto empty() const noexcept -> bool { return size() == 0; } |
| 148 | |
| 149 | private: |
| 150 | struct Cell { |
no outgoing calls