Skip to content

Commit

Permalink
Merge pull request #4647 from 9il/assign
Browse files Browse the repository at this point in the history
fix Issue 16315 and optimise arithmetic operations for Slice
  • Loading branch information
dnadlinger committed Jul 31, 2016
2 parents 04b45d1 + 3e0a933 commit eb9e676
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 eb9e676

Please sign in to comment.