The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Vector.opSlice
automem
vector
Vector
Returns a slice. @system because the pointer in the slice might dangle.
auto
opSlice
()
auto
opSlice
(long start, long end)
struct
Vector
(E, Allocator = typeof(theAllocator))
@
system
scope return
auto
opSlice
(
this
This
)
(
long
start
,
long
end
)
if
(
isAllocator
!
Allocator
)
Meta
Source
See Implementation
automem
vector
Vector
functions
capacity
clear
empty
free
opAssign
opBinary
opIndex
opOpAssign
opSlice
opSliceAssign
opSliceOpAssign
popBack
popFront
range
reserve
shrink
stringz
properties
length
Returns a slice. @system because the pointer in the slice might dangle.