|
Thank you, Dark and Grumpy. When I grow up, I'll weasel my way into the ISO C++ Standards Committee and make them abolish the restriction.
Overloading operator < for my classes seems like a good solution in this case -- though I use functors for more than finding max_element(). Thanks for the idea.
|