Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-12-05 07:41:23


On Thursday 05 December 2002 04:21 am, Markus Werle wrote:
> With the help of ConcreteEvoker I was
> able to get an (indirect) address for
> Test::Apply<double>.
>
> This address is obtained via automatic
> template instantiation, so I feel like
> there must be a way to achiev the same thing
> without ConcreteEvoker.
>
> Any comments?

You could explicitly instantiate the function:
  boost::function<double (double, double)> test = &Test::Apply<double>;

        Doug


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net