Re: [sigc] What is changed in sigc::bind?
- From: Murray Cumming <murrayc murrayc com>
- To: Igor Gorbounov <igorbounov topazelectro ru>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] What is changed in sigc::bind?
- Date: Sun, 23 Apr 2006 15:06:02 +0200
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]