
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@gmail.com> 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@getdesigned.at> 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.