btl ~master (2022-05-26T13:46:37Z)
Dub
Repo
ControlBlock.Vtable
btl
autoptr
common
ControlBlock
ControlBlock
Undocumented in source.
struct
ControlBlock
package static
struct
Vtable {
static if
(
hasSharedCounter
)
void
function
(
ControlBlock
*)
pure
nothrow
@(
safe
) @(
nogc
)
on_zero_shared
;
static if
(
hasWeakCounter
)
void
function
(
ControlBlock
*)
pure
nothrow
@(
safe
) @(
nogc
)
on_zero_weak
;
void
function
(
ControlBlock
*,
bool
)
pure
nothrow
@(
safe
) @(
nogc
)
manual_destroy
;
bool
initialized
();
bool
valid
();
}
Members
Functions
initialized
bool
initialized
()
Undocumented in source. Be warned that the author may not have intended to support it.
valid
bool
valid
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
manual_destroy
void
function
(
ControlBlock
*,
bool
)
pure
nothrow
@(
safe
) @(
nogc
)
manual_destroy
;
Undocumented in source.
on_zero_shared
void
function
(
ControlBlock
*)
pure
nothrow
@(
safe
) @(
nogc
)
on_zero_shared
;
Undocumented in source.
on_zero_weak
void
function
(
ControlBlock
*)
pure
nothrow
@(
safe
) @(
nogc
)
on_zero_weak
;
Undocumented in source.
Meta
Source
See Implementation
btl
autoptr
common
ControlBlock
ControlBlock
aliases
Shared
Weak
constructors
this
functions
add
add_shared_if_exists
count
initialize
manual_destroy
on_zero_shared
on_zero_weak
opAssign
release
structs
Vtable
variables
hasSharedCounter
hasWeakCounter