/* minmax.cc -- implement minmax () source file of the GNU LilyPond music typesetter (c) 1997--2004 Han-Wen Nienhuys */ template minmax (Direction d, T t1, T t2) { if (d > 0) return t1 >? t2; else return t1