Boost logo

Boost :

From: Kevin Wan (wanjunfeng_at_[hidden])
Date: 2006-02-10 22:54:54


in boost::signals docs, there is an example:
deliverNews.connect
<http://www.boost.org/doc/html/signalN.html#id2551390-bb>(boost::bind(&NewsMessageArea::displayNews,
                                newsMessageArea, _1));
if use my implementation, it will look like:
deliverNews.connect
<http://www.boost.org/doc/html/signalN.html#id2551390-bb>(newsMessageArea,
&NewsMessageArea::displayNews);

as you see, it's kind of easier. and the implementation code is much simpler.

i just want to share my library with others, if it helps.

Thanks,
Kevin

On 2/11/06, Kevin Wan <wanjunfeng_at_[hidden]> wrote:
>
> actually my implementation almost has the same behavior with C# delegate.
>
> the biggest advantage is easy to use.
>
> thanks,
> Kevin
>
> On 2/11/06, Sebastian Redl <sebastian.redl_at_[hidden]> wrote:
> >
> > Kevin Wan wrote:
> >
> > >I've added a delegate implementation in C++.
> > >
> > >
> > What exactly are the advantages of your delegate over the existing
> > libraries Boost.Function and Boost.Signals?
> >
> > Sebastian Redl
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
> >
>
>
>
> --
> Things don't just happen, you have to make them happen.
>

--
Things don't just happen, you have to make them happen.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk