//================================================================== // File: cAssociation.h // Author: Timothy A. Budd // Platform: Cfront // Description: Interface of the comparable association // data abstraction // Copyright (c) 1992 by Timothy A. Budd, All Rights Reserved // Permission Granted for Duplication if not for profit //================================================================== # ifndef cAssociationH # define cAssociationH # include // // class cAssociation // a form of association that allows elements to be compared // template class cAssociation : public association { public: // constructor cAssociation(K initialKey, V initialValue); cAssociation(const cAssociation & x); }; template int operator < (cAssociation & left, cAssociation & right); template int operator < (cAssociation & left, K right); # endif