slice overloads
Synopses
Declared in <llvm/ADT/ArrayRef.h>
Chop off the first N elements of the array.
MutableArrayRef<T>
slice(size_t N) const;
Chop off the first N elements of the array, and keep M elements in the array.
MutableArrayRef<T>
slice(
size_t N,
size_t M) const;
Return Value
-
MutableArrayRef with the first
Nelements removed. -
MutableArrayRef of
Melements starting after the firstN.
Parameters
Name |
Description |
N |
Number of elements to drop from the front. |
M |
Number of elements to keep. |
Created with MrDocs