17 Nov
2010
17 Nov
'10
2:22 a.m.
Frank Mori Hess wrote:
Another bit of info: getting rid of the static_cast in boost::detail::sp_forward makes both the compiler warning and valgrind error go away, although I have no idea why.
Interesting... which version of GCC? Without the static_cast, it shouldn't compile, as rvalue references no longer bind to lvalues. In fact, I see that I added the static_cast in [61574] for that very reason.