Boost logo

Boost Users :

From: gast 128 (gast128_at_[hidden])
Date: 2004-11-21 16:09:20


Ok I have an example,

int f(int, int);
struct X
{
   int m_i;
};

X x;
int i = boost::bind(&f, 1, _1)(boost::bind(&KTstbX::m_i, _1)(x));
UNREF(i);

I guess the new boost does not return ref for members (in react on a
previous email). Be aware however that functions them selves can still
return references.

Wkr,
me

_________________________________________________________________
Talk with your online friends with MSN Messenger http://messenger.msn.nl/


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