From: David Abrahams (dave_at_[hidden])
Date: 2003-12-14 14:19:54
Jim Apple <japple_at_[hidden]> writes:
> David Abrahams wrote:
>>>I don't think I understand your problem. Is the graph a function
>>> parameter, or a global?
>> I don't see why that matters.
> Persistent memoization (see below) depends on always returning the
> same result for the same arguments.
Between or within calls? (turnabout's fair play)
And, I still don't see how the global vs. parameter thing changes
anything. We don't have a functional programming language; even
parameters can be mutated.
-- Dave Abrahams Boost Consulting 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