id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11702,boost::bind universal reference handling regression,maxim.yegorushkin@…,Peter Dimov,"The following code compiles with boost-1.57 but not with boost-1.59: {{{ #include #include #include void foo(std::auto_ptr); int main() { boost::function)> f = boost::bind(foo, _1); std::auto_ptr p; f(p); } }}} This is due to the new universal reference handling code implemented in boost::bind. The local fix we use is: {{{ #if !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) namespace boost { namespace _bi { template struct list_add_cref > { typedef std::auto_ptr& type; }; } } #endif }}}",Bugs,new,To Be Determined,bind,Boost 1.59.0,Regression,,"bind, auto_ptr",