boost:bind versus bind1st
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
On 5/5/05, Shetty, Diwakar
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 - Scott
"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
participants (3)
-
Jeff Flinn
-
me22
-
Shetty, Diwakar