------- Comment #11 from singler at gcc dot gnu dot org  2009-04-07 09:09 
-------
I found a shorter solution:  Just parametrize equal_to with const T& instead of
T.  Better?

In general, passing the element to find as const ref is the safest we can do,
isn't it?  AFAIK the other option is to not pass it at all.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39546

Reply via email to