mutils ~master (2018-10-28T20:05:58Z)
Dub
Repo
BucketsListChain
mutils
container
buckets_chain
Undocumented in source.
struct
BucketsListChain (
T
uint
elementsInBucket
= 64
bool
addGCRange
=
hasIndirections
!
T
) {
alias
ElementType
=
T
;
alias
MyBucket
=
BucketWithList
!(
T
,
elementsInBucket
)
;
Vector
!(
MyBucket
*)
buckets
;
this(this)
;
void
initialize
();
void
clear
();
MyBucket
*
addBucket
();
T
*
add
();
static if
(
isImplicitlyConvertible!(T, T)
)
T
*
add
(T obj);
void
remove
(T* obj);
}
Postblit
this(this)
this(this)
Undocumented in source.
Members
Aliases
ElementType
alias
ElementType
=
T
Undocumented in source.
MyBucket
alias
MyBucket
=
BucketWithList
!(
T
,
elementsInBucket
)
Undocumented in source.
Functions
add
T
*
add
()
Undocumented in source. Be warned that the author may not have intended to support it.
add
T
*
add
(T obj)
Undocumented in source. Be warned that the author may not have intended to support it.
addBucket
MyBucket
*
addBucket
()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void
clear
()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void
initialize
()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void
remove
(T* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
buckets
Vector
!(
MyBucket
*)
buckets
;
Undocumented in source.
Meta
Source
See Implementation
mutils
container
buckets_chain
manifest constants
doNotInline
structs
BitsArray
BucketWithBits
BucketWithList
BucketsChain
BucketsListChain