Overloaded equality operator
| 448 | |
| 449 | /// Overloaded equality operator |
| 450 | bool operator==(const Array<T>& array) const { |
| 451 | |
| 452 | if (mSize != array.mSize) return false; |
| 453 | |
| 454 | for (uint64 i=0; i < mSize; i++) { |
| 455 | if (mBuffer[i] != array[i]) { |
| 456 | return false; |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | return true; |
| 461 | } |
| 462 | |
| 463 | /// Overloaded not equal operator |
| 464 | bool operator!=(const Array<T>& array) const { |
nothing calls this directly
no outgoing calls
no test coverage detected