Boost logo

Boost Users :

From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2007-02-16 13:32:38


Peter Dimov wrote:

> You can use boost::bind( &Listener::run, l, s ) instead of writing a
> function object by hand, although I don't know how it will react to your ^
> thingies. :-)

Badly. Very badly. It's probably as simple as boost::function not
having any specializations for CLI reference types but I'm not going to
try and figure out how to make them. I'm actually going to work toward
weeding out all CLI crap and using C++. Unfortunately I'm working with
a COM object that isn't behaving too well apparently and I'm no expert
with COM. But that's neither here nor there...there are a few boost
things that can't handle CLI types, which is not at all surprising.
boost::function is one of those things, the output is about a mile long
with a big screw you at the end.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net