#include using namespace std; typedef int KeyType; class KeyedItem { public: KeyedItem() {}; KeyedItem(const KeyType& keyValue) : searchKey(keyValue) { } KeyType getKey() const { return searchKey; } // end getKey private: KeyType searchKey; }; // end class