| 382 | } |
| 383 | |
| 384 | ABSL_MUST_USE_RESULT |
| 385 | inline bool IsExpiredRef(const ReferenceCount& refcount) noexcept { |
| 386 | const auto count = refcount.strong_refcount_.load(std::memory_order_acquire); |
| 387 | ABSL_DCHECK_GE(count, 0); |
| 388 | ABSL_ASSUME(count >= 0); |
| 389 | return count == 0; |
| 390 | } |
| 391 | |
| 392 | ABSL_MUST_USE_RESULT |
| 393 | inline bool IsExpiredRef( |