Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-02-10 12:51:26


On Monday 10 February 2003 12:29 pm, Markus Werle wrote:
> > You can pass a "reference" to those algorithms by changing 'f'
> > parameters to:
> > boost::bind(ref(f), _1, _2)
>
> Do I need this only in the outermost binding level
> (I have nested boost::functions) or do I have to
> apply "ref" also to the original (true, existent) functions
> at the leaves of the functor tree?

You only need this at the outermost binding level.

        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