Skip to content

Commit

Permalink
Compiled with DMD 2.088
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxueping committed Apr 30, 2023
1 parent 8803bb1 commit 9317f81
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/hunt/collection/AbstractDeque.d
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ abstract class AbstractDeque(E) : AbstractQueue!(E), Deque!(E) {
throw new NotSupportedException();
}

override int opApply(scope int delegate(ref E) dg) {
throw new NotImplementedException();
}

override bool opEquals(IObject o) {
return opEquals(cast(Object) o);
}
Expand Down
5 changes: 5 additions & 0 deletions source/hunt/collection/AbstractQueue.d
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ abstract class AbstractQueue(E) : AbstractCollection!(E), Queue!(E) {
return modified;
}

override int opApply(scope int delegate(ref E) dg) {
throw new NotImplementedException();
// return 0;
}

override bool opEquals(IObject o) {
return opEquals(cast(Object) o);
}
Expand Down
6 changes: 6 additions & 0 deletions source/hunt/collection/AbstractSet.d
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ abstract class AbstractSet(E) : AbstractCollection!E, Set!E {
protected this() {
}


override int opApply(scope int delegate(ref E) dg) {
throw new NotImplementedException();
// return 0;
}

// Comparison and hashing

/**
Expand Down

0 comments on commit 9317f81

Please sign in to comment.