MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / operator==

Method operator==

include/reactphysics3d/containers/Deque.h:432–443  ·  view source on GitHub ↗

Overloaded equality operator

Source from the content-addressed store, hash-verified

430
431 /// Overloaded equality operator
432 bool operator==(const Deque<T>& deque) const {
433
434 if (mSize != deque.mSize) return false;
435
436 for (uint64 i=0; i < mSize; i++) {
437 if (getItem(i) != deque.getItem(i)) {
438 return false;
439 }
440 }
441
442 return true;
443 }
444
445 /// Overloaded not equal operator
446 bool operator!=(const Deque<T>& deque) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected