Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2005-01-07 17:11:59


Brian Braatz wrote:
> With the following code, If you UNCOMMENT the "// public : Base" line,
> you get compiler errors (????)
>
> I have tested this with MS VC 7.1 against both 1.31 and 1.32 versions of
> boost with the same results.

I don't have these compilers, but:

> Any idea why this is happening? (full sample code I wrote is attached)

> bind(Base::ReturnAString,_1);

Shouldn't that read

   bind(&Base::ReturnAString,_1);

? Note the '&'! Maybe this is what your compiler complains about...

Regards, Daniel


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