Skip to content

Commit

Permalink
fix Issue 16315, optimise arithmetic operations for Slice
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Jul 31, 2016
1 parent 69c00bc commit 3e0a933
Show file tree
Hide file tree
Showing 2 changed files with 374 additions and 179 deletions.
2 changes: 2 additions & 0 deletions std/experimental/ndslice/internal.d
Expand Up @@ -5,6 +5,8 @@ import std.meta; //: AliasSeq, anySatisfy, Filter, Reverse;

package:

alias isMemory = isPointer;

enum indexError(size_t pos, size_t N) =
"index at position " ~ pos.stringof
~ " from the range [0 .." ~ N.stringof ~ ")"
Expand Down

0 comments on commit 3e0a933

Please sign in to comment.