Comparative efficiency of lambda versus bind

7 May
2008
7 May
'08
12:40 a.m.
I want to use either bind or lambda to create a small function object to pass to std::transform. Is one noticeable more efficient than the other? The call would either be like transform(a.begin(), a.end(), b.begin(), boost::bind(multiplies(), _1, x)); or transform(a.begin(),a.end(), b.begin(), _1 * x); Joe Gotttman
6255
Age (days ago)
6255
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joe Gottman