id summary reporter owner description type status milestone component version severity resolution keywords cc 2642 bug constructing from a reference to another boost::function Steven Watanabe Douglas Gregor "The following code throws a bad_function_call exception because the constructor for f2 decides that since f1 is empty, f2 ought to be empty as well. {{{ #include #include void f() { } int main() { boost::function f1; boost::function f2(boost::ref(f1)); f1 = f; f2(); } }}} The attached patch fixes the problem. " Bugs closed Boost 1.38.0 function Boost 1.37.0 Problem fixed