View Single Post
Old May 30th, 2006, 10:24 PM   #4
manannan
Newbie
 
Join Date: May 2006
Posts: 2
Rep Power: 0 manannan is on a distinguished road
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.
manannan is offline   Reply With Quote