Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2000-07-06 14:27:00


> I'm using Metrowerks CodeWarrior 5.3 (Macintosh) and Apple MrC. And I've
> found what's wrong with the file function_test.cpp.

Thank you! (I would prefer to say that you have found what is wrong with
CodeWarrior though ;-)

Does this compile with your fix in place?

#include <boost/functional.hpp>

class Person
{
    public: bool isFred () const { return false; }
};

int main()
{
    const Person fred;
    boost::mem_fun_ref(&Person::isFred)(fred);
}

It should, but I fear it might not.

Thanks,
Mark


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