30 Oct
2003
30 Oct
'03
3:21 p.m.
On Thu, Oct 30, 2003 at 03:30:18PM +1300, Greg Ewing wrote:
That's completely different from what I had in mind, which was:
(1) Keep a reference to the base object in the buffer object, and
It already does this.
(2) Use the buffer API to fetch a fresh pointer from the base object each time it's needed.
Is there some reason that still wouldn't be safe enough?
I don't see any problem with that. It's probably a better solution since it doesn't require a new flag and it lets you create buffers that reference objects like arrays. Neil