phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
dupShallow
nxt
construction
T
dupShallow
(
T
)
(
in
T
a
)
if
(
is
(
typeof
(
T.init
[])) &&
!
is
(
T
==
const
(
U
)[],
U
)
&&
__traits(
isCopyable
,
ElementType
!
T
)
)
Return Value
Type:
T
shallow duplicate of
a
.
Meta
Source
See Implementation
nxt
construction
aliases
dup
functions
dupShallow
makeOfCapacity
makeOfLength
makeWithElements