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
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
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(
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
>
>
> ___
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
>
>
>
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