Checks if the deque is empty If the combining is in process the function waits while combining done. */
| 363 | If the combining is in process the function waits while combining done. |
| 364 | */ |
| 365 | bool empty() const |
| 366 | { |
| 367 | bool bRet = false; |
| 368 | auto const& deq = m_Deque; |
| 369 | m_FlatCombining.invoke_exclusive( [&deq, &bRet]() { bRet = deq.empty(); } ); |
| 370 | return bRet; |
| 371 | } |
| 372 | |
| 373 | /// Internal statistics |
| 374 | stat const& statistics() const |
no test coverage detected