classes that redefine the three auxiliary methodsaislessbothareequaland bisless we show how unionintersectionand subtraction can be easily described in terms of these methods in code fragment the auxiliary methods are redefined so that the template method merge performs as follows