Boost logo

Boost :

From: Greg Dehaas (GregDehaas_at_[hidden])
Date: 2002-12-17 04:06:09


---You wrote...-------------------------
> The BINDFUNCTION macros aren't actually needed. Anywhere that you would
have:
>
> boost::functionN<...> f;
> f = BINDFUNCTION(g);
>
> You could have just written:
> boost::functionN<...> f;
> f = g;
>
> I'd also strongly suggest that you don't use the BINDMETHOD macros,
because
> sooner or later you'll find yourself needing to use more of bind's
features.
>
> Doug
---------------------------------------

When I try your suggestion, I get the error
'function does not take 2 parameters'
(If I do not use the BINDFUNCTION macros)

It seems to dislike doing this with parameters

Greg


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