Boost logo

Boost :

From: Jaakko Jarvi (jajarvi_at_[hidden])
Date: 2002-03-21 20:11:03


> Would also be interesting to see the numbers for
> int foo( int x ) { return x*x; }

Don't have the figures here now, but for
class foo2 {
  double operator()(const double& d)
  { return d*d; }
}
class foo3 {
  double operator()(const double& d)
  { return d*d*d; }
}

...

it goes pretty much hand in hand with lambda.

Jaakko


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk