MCPcopy Create free account
hub / github.com/ablab/spades / operator==

Method operator==

ext/include/llvm/ADT/SparseBitVector.h:544–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542 }
543
544 bool operator==(const SparseBitVector &RHS) const {
545 ElementListConstIter Iter1 = Elements.begin();
546 ElementListConstIter Iter2 = RHS.Elements.begin();
547
548 for (; Iter1 != Elements.end() && Iter2 != RHS.Elements.end();
549 ++Iter1, ++Iter2) {
550 if (*Iter1 != *Iter2)
551 return false;
552 }
553 return Iter1 == Elements.end() && Iter2 == RHS.Elements.end();
554 }
555
556 // Union our bitmap with the RHS and return true if we changed.
557 bool operator|=(const SparseBitVector &RHS) {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected