Boost logo

Boost :

From: Thomas Maeder (maeder_at_[hidden])
Date: 2002-01-27 13:00:29


Am 2002.01.27 17:20 schrieb(en) Ross Smith:
> > >
> > > I don't understand why multiple ownership would make a difference.
> >
> > Who can decide when to close/flush?
>
> I still don't understand what you're driving at. Each piece of code
> that uses the file flushes it when it's finished, obviously. What's
> the
> problem?

Oh, now *I* see where *you* are driving at; I didn't get it before
(maybe it's my English, or the flu).

Your position depends on close() not failing if the file is flushed,
which is wishful thinking IMHO unless documented so. But this may be a
theoretical consideration, I don't know. Who does know?


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