phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
SoA.availableCapacity
nxt
soa_petar_kirov
SoA
Returns the number of elements that can be inserted without allocation.
struct
SoA
(T, alias Allocator = from!`std.experimental.allocator.gc_allocator`.GCAllocator)
nothrow const pure
size_t
availableCapacity
(
)
if
(
is
(
T
== struct)
)
Meta
Source
See Implementation
nxt
soa_petar_kirov
SoA
aliases
opDollar
constructors
this
functions
availableCapacity
capacity
empty
insertBack
length
opDispatch
opIndex
toString
variables
fieldIndex
Returns the number of elements that can be inserted without allocation.