Skip to content

Commit e16283f

Browse files
committed
rework topology.d
1 parent 323e5a2 commit e16283f

File tree

2 files changed

+189
-200
lines changed

2 files changed

+189
-200
lines changed

source/mir/ndslice/internal.d

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -141,21 +141,6 @@ Function prototype
141141
" ~ pfun ~ "
142142
_____";
143143

144-
mixin template _DefineRet()
145-
{
146-
alias Ret = typeof(return);
147-
mixin _DefineRet_;
148-
}
149-
150-
mixin template _DefineRet_()
151-
{
152-
static if (hasElaborateAssign!(typeof(Ret._iterator)))
153-
Ret ret;
154-
else
155-
Ret ret = Ret.init;
156-
}
157-
158-
159144
mixin template DimensionsCountCTError()
160145
{
161146
static assert(Dimensions.length <= packs[0],

0 commit comments

Comments
 (0)