From: Thomas Lehmann on
Hi,

unfortunately I have lost the link to the anwer of the
question: "Why is the functor of a std::sort copied several times?"

What's the reason for this handling?

I have written a template adapter to use a given object
providing the required sorting criteria so the concrete
instance does not get copied and destructed several
times (so it's ok for me).


sincerely
Thomas

--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]