------- Comment #5 from singler at gcc dot gnu dot org 2009-03-31 09:52 ------- I have two patches, each of which should fix the problem. Both take the value to compare against as const ref, which solves the array passing problem. The first one is more general, introducing a new variant of binder2nd, while the second is more specific, having a new variant of equal_to. Which approach would you like better? (Formatting and comments of patches is not yet final).
-- singler at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |singler at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2009-03-24 17:26:00 |2009-03-31 09:52:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39546