6 May
2005
6 May
'05
12:09 p.m.
"me22"
On 5/5/05, Shetty, Diwakar
wrote: Will it be okay to say that the advantages of boost::bind over bind1st and bind2nd are
1) bind1st and bind2nd works with func obj only
2) boost::bind does not require func to have result_type and first_argument_type
Thanks, Diwakar
Possible Additions:
3) boost::bind works for functions with more than 2 parameters
4) boost::bind works transparently for member functions
5) boost::bind works transparently for member functions invoked through pointers and boost smart pointers. Jeff Flinn