Re: [sigc] sigc::bind<> argument copy error



Martin Schulze wrote:

Fixed in cvs. Thanks a lot for detecting this nasty bug. It affected
any adaptor, not only bind(). The solution was to use explicit function
template instantiation in sigc::internal::slot_call#::call_it().

The fix also enables binding of an object instance to a method through
bind() which I promptly added to the test case. I always had the
funny feeling that this _should_ work ... now it finally does!

I was thinking about the others, like hide<>.

After this, I'm inclined to agree with Murray. I wouldn't be in too much of a hurry to release a stable libsigc++2.0. That will give more time for testing.

Regards,

Jeff Franks.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]