mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
SimplePool.Elem
mecca
containers
pools
SimplePool
Undocumented in source.
struct
SimplePool
(T)
struct
Elem {
this(this)
;
union
__anonymous
;
static if
(
__traits(hasMember, T, "_poolElementAlignment")
)
enum
sz
;
static if
(
__traits(hasMember, T, "_poolElementAlignment")
)
ubyte
[
T
.
_poolElementAlignment
- (
sz
%
T
.
_poolElementAlignment
)]
padding
;
T
*
value
[@property getter];
}
Postblit
this(this)
this(this)
Undocumented in source.
Members
Manifest constants
sz
enum
sz
;
Undocumented in source.
Properties
value
T
*
value
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Unions
__anonymous
union
__anonymous
Undocumented in source.
Variables
padding
ubyte
[
T
.
_poolElementAlignment
- (
sz
%
T
.
_poolElementAlignment
)]
padding
;
Undocumented in source.
Meta
Source
See Implementation
mecca
containers
pools
SimplePool
functions
alloc
close
open
release
properties
capacity
closed
numAvailable
numInUse
structs
Elem