Hi Gregory, On Fri, Feb 25, 2005 at 10:37:40PM -0500, Gregory J. Sharp wrote: > You were too quick for me. Why not just change them to std::min and > std::max and let the standard library do its work for you? The only > time this would be a problem is when the types of "a" and "b" are > different, and you probably want to catch that at compile time, anyway. > No? I agree (see my followup notes). There shouldn't be any relevant compilers left that don't support that. But let's see what Andy thinks... Pete ------------------------------------------------------------------------- Peter Elmer E-mail: [log in to unmask] Phone: +41 (22) 767-4644 Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland -------------------------------------------------------------------------