Skip to content

Commit 9317f81

Browse files
author
zhangxueping
committed
Compiled with DMD 2.088
1 parent 8803bb1 commit 9317f81

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

source/hunt/collection/AbstractDeque.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ abstract class AbstractDeque(E) : AbstractQueue!(E), Deque!(E) {
277277
throw new NotSupportedException();
278278
}
279279

280+
override int opApply(scope int delegate(ref E) dg) {
281+
throw new NotImplementedException();
282+
}
283+
280284
override bool opEquals(IObject o) {
281285
return opEquals(cast(Object) o);
282286
}

source/hunt/collection/AbstractQueue.d

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ abstract class AbstractQueue(E) : AbstractCollection!(E), Queue!(E) {
175175
return modified;
176176
}
177177

178+
override int opApply(scope int delegate(ref E) dg) {
179+
throw new NotImplementedException();
180+
// return 0;
181+
}
182+
178183
override bool opEquals(IObject o) {
179184
return opEquals(cast(Object) o);
180185
}

source/hunt/collection/AbstractSet.d

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ abstract class AbstractSet(E) : AbstractCollection!E, Set!E {
5555
protected this() {
5656
}
5757

58+
59+
override int opApply(scope int delegate(ref E) dg) {
60+
throw new NotImplementedException();
61+
// return 0;
62+
}
63+
5864
// Comparison and hashing
5965

6066
/**

0 commit comments

Comments
 (0)