16 Apr
2004
16 Apr
'04
7:18 p.m.
From: "Victor A. Wagner Jr."
what the heck are best_element and worst_element? at least I _know_ what min and max are.
we all _know_ what min and max are - that's the problem - we have a default predicate in mind - so min_element(begin, end, greater) doesn't work as you would initially (intuitively) expect - to understand it generally requires viewing it as min_indexed_element_if_ordered_by. best and worst have the advantage of requiring a context before they can be understood - best_element(begin, end, greater) should therefore be clear to just about anybody (i would hope :) ian whittley