Source of overloadedEquality.cpp


  1: //  Created by Frank M. Carrano and Timothy M. Henry.
  2: //  Copyright (c) 2017 Pearson Education, Hoboken, New Jersey.

  4: template <class KeyType, class ValueType>
  5: bool Entry<KeyType, ValueType>::operator==(const Entry<KeyType, ValueType>& rightHandEntry) const
  6: {
  7:    return (searchKey == rightHandEntry.getKey());
  8: }  // end operator==