Skip to content

Commit 1b62a15

Browse files
committed
remove constructor
1 parent 6b80963 commit 1b62a15

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

source/mir/ndslice/slice.d

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -663,22 +663,6 @@ struct Slice(SliceKind kind, size_t[] packs, Iterator)
663663

664664
public:
665665

666-
/++
667-
This constructor should be used only for integration with other languages or libraries such as Julia and numpy.
668-
Params:
669-
lengths = lengths
670-
strides = strides
671-
iterator = an iterator or a pointer to iterate on
672-
+/
673-
this()(in size_t[N] lengths, in sizediff_t[S] strides, Iterator iterator)
674-
{
675-
foreach (i; Iota!N)
676-
_lengths[i] = lengths[i];
677-
foreach (i; Iota!S)
678-
_strides[i] = strides[i];
679-
_iterator = iterator;
680-
}
681-
682666
/// Creates a 2-dimentional slice with custom strides.
683667
nothrow pure
684668
unittest

0 commit comments

Comments
 (0)