[Function] Potential bug with ref-wrapped function objects?

Hello group,
Boost.Function is exhibiting differing behavior in different boost releases:
//--------------------------
struct F
{
void operator()() { }
};
F obj; // assume obj remains in scope for duration of sample
boost::function

AMDG Dave Bonora wrote:
Hello group,
Boost.Function is exhibiting differing behavior in different boost releases:
//--------------------------
<snip>
//---------------------------
I'm assuming 1.35.0 is demonstrating the correct behavior whereas 1.39.0 is exhibiting a bug, but I thought I'd defer to the group before I reported it. Am I correct?
It seems to be okay in the trunk. In Christ, Steven Watanabe
participants (2)
-
Dave Bonora
-
Steven Watanabe