------- Comment #7 from redi at gcc dot gnu dot org 2010-04-28 11:40 ------- N.B. I stopped testing boost trunk against gcc trunk ages ago and I don't think anyone does it these days, which means that boost releases often don't work with GCC versions that come out after the release, especially if they are using the experimental C++0x support. According to http://www.boost.org/users/news/version_1_42_0 Boost 1.42 was not tested with anything newer than 4.4.3 so it's unsurprising it doesn't use the new rvalue-reference rules that 4.5.0 implements
This should be reported as a bug against Boost -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43915