Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2005-01-07 18:37:40


Brian Braatz wrote:
> What is STRANGE is that "sometimes"
> bind(Base::ReturnAString) works
>
> ironically, I have about 40 calls that use that syntax that work just
> fine.

AFAIK, being allowed to omit the '&' is a non-standard compiler
extension. And one which has issues, as you just found out yourself :)
Just use '&' consistently to retrieve (member-)function-pointers.

Regards, Daniel


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