Re: [sigc] How does std::function<> work with libsigc++

2013-08-09 Thread Murray Cumming
On Mon, 2013-07-29 at 20:54 +0100, Chris Vine wrote: > On Mon, 29 Jul 2013 20:44:02 +0200 > Kjell Ahlstedt wrote: > > > Wouldn't it be cleaner to just (or also) add a specific > > > connect(std::function<>) method overload that did this > > > automatically? > > Sure. I wish I knew how to do it. si

Re: [sigc] How does std::function<> work with libsigc++

2013-08-09 Thread Chris Vine
On Fri, 09 Aug 2013 13:09:29 +0200 Murray Cumming wrote: [snip] > > Can you give us an example of when you would not want the slot to be > tracked? When you want more than one thread to create slots on a trackable object using sigc::mem_fun(), as this is not thread safe. At present you have to