
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.