
18 Nov
2010
18 Nov
'10
5:51 p.m.
Dave Steffen wrote:
I got this bad behavior with GCC 4.4.4. It goes away with GCC 4.2.4.
What is the definition of std::forward in GCC 4.4.4? What happens if you change boost::detail::sp_forward in make_shared.hpp:150: ::new( pv ) T( boost::detail::sp_forward<Arg1>( arg1 ), boost::detail::sp_forward<Args>( args )... ); to std::forward, do you get a compile warning on this line and does Valgrind still warn?