http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.03.28 12:17:25 Ever Confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-28 12:17:25 UTC --- The example should work. I'm travelling today but will check the <functional> code later to see why the F&& constructor is being chosen instead of the const F& one.