14 Jul
2009
14 Jul
'09
6:53 a.m.
Hi, Simply, boost::function unifies ptr to function, ptr to member function and function call operators into the same syntax. So, for example you can create an STL container and fill it with the variables above heterogenously and iterate over the container to call elements with the same syntax, i.e., (*iterator)(arguments); I recommend taking a look at boost::signal for a nice use case. Take care, emre On Tue, Jul 14, 2009 at 02:39:22PM +0800, Wong Peter wrote:
I try to read that and i guess it uses to store functor/function pointer for later callback.
Am i correct ?
Thanks.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users