Boost logo

Boost :

From: Dale Peakall (dale.peakall_at_[hidden])
Date: 2001-04-20 05:29:19


Bill Kempf wrote:
> As pointed out in another post, member functions can be trivially
> changed into function objects eliminating the need for direct support
> by any_function. In early discussions it was seen as wasted
> duplication of effort to address this in a "callback" class when
> standard adapter classes were also in the pipe (i.e. boost::bind).

I wouldn't class myself as an expert at these things, but I at least
thought I had a reasonable idea, and I can't see how you can "trivially"
convert a class, member function pair into a callback (at least on my
totally broken MSVC compiler - no void return's, no partial specialisation).

I've spent the last day or so working at a solution that I can use until
the absolutely fab boost::bind arrives and have totally failed. I'd have
thought this put the problem beyond the realm of "trivial".

Any news on boost::bind?

        - Dale.


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