Boost logo

Boost :

From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2004-01-21 08:52:37


On Wed, 21 Jan 2004, Edward Diener wrote:
> The million dollar question is: if one uses boost::bind as the mechanism of
> passing a member function as an underlying function object to
> boost::function, will this new functionality somehow let me check if a
> particular member function is indeed the one that boost::function holds as
> its function object ? Or maybe it needs to be rephrased as: does an instance
> of boost::bind allow me to pass its underlying function object to the new
> equality operator of boost::function and is this underlying function object
> EqualityComparable ?

boost::bind would need to be EqualityComparable for this to work, and at
the moment it is not. It's technically trivially to do, we need only
convince Peter :)

        Doug


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