Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-22 22:54:04


From: "David Abrahams" <dave_at_[hidden]>

> I don't understand how this can work. The function object is still
allowed
> to detect its address by examining the 'this' pointer:

<snip>

Hum...

having looked at the implementation in a debugger I see that you're just
constructing the stateless function object in the invoker. Shouldn't there
be some indication in the docs that you're going to do that? Isn't there a
claim that you're storing the function<>'s constructor argument in the
function somewhere?

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk