Re: [sigc] What is changed in sigc::bind?



On Wed, 2006-04-12 at 12:22 +0400, Igor Gorbounov wrote:
> Hi, All!
> I've recently updated from Fedora Core 4 to Fedora Core 5 and now my
> app compiles with errors in this place:
> 
> "Glib::Thread::create(sigc::bind<Glib::ustring, DataRec&>(sigc::ptr_fun(
> receive_data), local_conf.curr_aggregate, datarecord), false);"

binding of non const references was never a very good idea, and not
something that we expected people to use. I think we were forced to
break it in order to fix a more serious issue. Using sigc::ref() might
work, but I recommend that you just use pointers.

Sorry for being vague. Take a look at the ChangeLog if you want more
details.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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