Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-11-30 08:46:18


Kerner, Jacques wrote:
> Okay, just to nail it down :
>
> - boost::bind does not generate the error and you don't need to cast
> the function pointer
> whereas
> - boost::lambda::bind needs you to explicitely cast the function
> pointer

In this particular case boost::bind would also be unable to disambiguate
between the two overloads, because it doesn't have enough information to
tell which one is needed.


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