[boost] boost::bind - cannot convert resulting function object to function pointer

2003-03-04 Thread Marc Jacobs
I'm trying to use a member function as a callback to a C-style library. I've got the bind working by itself, but the resulting function object does not convert to the type required by the library. Clearly a boost::bind object is not a simple function pointer and the type is being checked by the com

[boost] Re: boost::bind - simple test case does not work...

2003-03-04 Thread Marc Jacobs
Thanks. That worked. "Douglas Gregor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Monday 03 March 2003 05:03 pm, Marc Jacobs wrote: > > bind( &X::f, &x, _1 )( 6 ); // error! > > You can't pass rvalues to boost::bind function obj

[boost] boost::bind - simple test case does not work...

2003-03-03 Thread Marc Jacobs
While I've successfully used boost::bind before, I cannot seem to get this simple test case to work. #include #include using namespace boost; using namespace std; struct X { void f( int i ) { cout << i << "\n"; } }; int main( int argc, char * argv[] ) { X x; bind(

[boost] Re: boost::graph - incorrect answers withdikjstra_shorts_paths

2002-11-19 Thread Marc Jacobs
Jeremy: Did you have any time to look into this? Marc "Jeremy Siek" <[EMAIL PROTECTED]> wrote in message news:<2147483647.1037316564@[192.168.1.102]>... > Hi Marc, > > I don't have time to look at this right now, but I'll try to get to it > this > weekend. > > Regards, > Jeremy > > > ___

[boost] Re: boost::graph - incorrect answers withdikjstra_shorts_paths

2002-11-15 Thread Marc Jacobs
Thanks, Jeremy. I appreciate any help you can provide... Marc "Jeremy Siek" <[EMAIL PROTECTED]> wrote in message news:2147483647.1037316564@;[192.168.1.102]... > Hi Marc, > > I don't have time to look at this right now, but I'll try to get to it this > weekend. > > Regards, > Jeremy > > >

[boost] boost::graph - incorrect answers with dikjstra_shorts_paths

2002-11-14 Thread Marc Jacobs
I'm using boost::graph to model dependencies between files (much like the File Dependency example in the documentation.) I've been successfully able to do topological sorts, traversals with visitors, etc., but I am unable to get the parallel example to work correctly (that is, assigning time slots