rc ~master (2022-04-19T12:17:06.0065687)
Dub
Repo
RC
rc
allocator
struct
RC {
alias
affix
=
AffixAllocator
!(
Mallocator
,
size_t
,
size_t
).
instance
;
static
IAllocator
affixObj
;
static
auto
make
(A args);
static
T
[]
makeArray
(size_t length);
static
T
[]
makeArray
(size_t length, T init);
static
size_t
refCount
(T p);
static
size_t
refCount
(T* p);
static
size_t
refCount
(T[] arr);
static
auto
incRef
(T p);
static
auto
decRef
(T p);
}
Members
Aliases
affix
alias
affix
=
AffixAllocator
!(
Mallocator
,
size_t
,
size_t
).
instance
Static functions
decRef
auto
decRef
(T p)
incRef
auto
incRef
(T p)
make
auto
make
(A args)
makeArray
T
[]
makeArray
(size_t length)
makeArray
T
[]
makeArray
(size_t length, T init)
refCount
size_t
refCount
(T p)
refCount
size_t
refCount
(T* p)
refCount
size_t
refCount
(T[] arr)
Static variables
affixObj
IAllocator
affixObj
;
Meta
Source
See Implementation
rc
allocator
structs
RC