//================================================================== // File: cAssociation.c // Author: Timothy A. Budd // Description: Implementation of the comparable association // data abstraction // Copyright (c) 1992 by Timothy A. Budd, All Rights Reserved // Permission Granted for Duplication if not for profit //================================================================== # include template cAssociation::cAssociation(const cAssociation & x) : association(x) { // no further processing } template cAssociation::cAssociation(K initialKey, V initialValue) : association(initialKey, initialValue) { // no further processing } template int operator < (cAssociation & left, cAssociation & right) { return left.key() < right.key(); } template int operator < (cAssociation & left, K right) { return left.key() < right; }