* Get the containing LruCacheItem. * @return the containing cache item */
| 62 | * @return the containing cache item |
| 63 | */ |
| 64 | LruCacheItem* item() const noexcept { |
| 65 | auto* base = reinterpret_cast<std::byte*>(const_cast<RAMCacheItem*>(this)); |
| 66 | return reinterpret_cast<LruCacheItem*>(base - offset_); |
| 67 | } |
| 68 | |
| 69 | // ------------------------------ Interface ------------------------------ // |
| 70 |
no outgoing calls
no test coverage detected