
24 Apr
2004
24 Apr
'04
4:55 p.m.
you have actually seen someone (other than yourself) write: min_element(begin, end, greater) ??
reminds me of the long gone (thankfully) unless(blah) from BCPL
i don't write it either - my predicated [min|max]_element functions are called [best|worst]_element - didn't i mention that? my work involves solving combinatorial optimisation problems - i don't want separate code bases for maximiation and minimisation problems - hence using generic functions. ian whittley