Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-01-08 12:07:44

Brian Braatz wrote:
> Question:
> Does anyone know when you should and should not use the & in a bind
> call?

The & is optional in front of ordinary functions, but required in front of
member functions. This is how C++ works; functions are implicitly
convertible to function pointers, but member functions need their address
taken explicitly to form a pointer to member.

Boost list run by bdawes at, gregod at, cpdaniel at, john at