http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52942
--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-12 09:56:54 UTC --- ... or ;) in C++11 mode, have _Select1st and _Identity not deriving from unary_function. Should work, very, very simple patch, and in any case the latter is deprecated in C++11, we really want to see it around as little as possible.