On Wednesday 29 May 2002 5:06 pm, Angus Leeming wrote:
> On Wednesday 29 May 2002 4:55 pm, Lars Gullik Bjønnes wrote:
> > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
> >
> > I see that the text I added got lost... anyway
> >
> > Unless somebody objects this patch will go in, in just a short while
> > (minutes, not days).
>
> Not objecting but could you explain (since you're now the expert ;-)
>
> -     workarea_.scrollCB.connect(slot(this, &BufferView::Pimpl::scrollCB));
> +     workarea_.scrollCB.connect(boost::bind(&BufferView::Pimpl::scrollCB,
> this, _1));
>
> What's the _1?

One more question:

sometimes you have 
        signal.connect(boost::bind(...));
and sometimes you have
        signal = boost::bind(...);

Any particular reason?

Angus

Reply via email to