8 Mar
2004
8 Mar
'04
11:05 p.m.
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