Boost logo

Boost Users :

From: George Diamantopoulos (gxd186_at_[hidden])
Date: 2004-03-08 18:05:46


Hi everyone,

I was trying the other day to "save" a boost::lambda::bind I made so I
can reuse it a few lines later.

I tried saving to a bind_t which seems to be the return type of bind()
but I was getting some compilation errors. If I recall correctly, it
wouldn't find bind_t in any of boost:: or boost::lambda::

Anyone knows if/how it's possible?

Just in case you're don't know what I mean, here's a code snippet:

bind_t myExpression = bind(&Object::method, this);
f(myExpression);
g(myExpression);

Thanks in advance.

George Diamantopoulos


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