ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::memory::slub::kmem_cache_ref< State > Class Template Referenceexport

Type-safe, zero-overhead reference to a kmem_cache in a known lifecycle state. More...

Public Member Functions

auto activate () noexcept -> kmem_cache_ref< lifecycle_state::active >
 Transition embryo -> active. Only valid on embryo refs.
auto begin_destroy () noexcept -> kmem_cache_ref< lifecycle_state::dying >
 Transition active -> dying. Only valid on active refs.
 kmem_cache_ref (const kmem_cache_ref &) noexcept=default
 kmem_cache_ref (kmem_cache *p) noexcept
 operator bool () const noexcept
auto operator* () const noexcept -> kmem_cache &
auto operator-> () const noexcept -> kmem_cache *
auto operator= (const kmem_cache_ref &) noexcept -> kmem_cache_ref &=default
auto raw () const noexcept -> kmem_cache *

Detailed Description

template<lifecycle_state State>
class zxfoundation::memory::slub::kmem_cache_ref< State >

Type-safe, zero-overhead reference to a kmem_cache in a known lifecycle state.


The documentation for this class was generated from the following file: